aboutsummaryrefslogtreecommitdiffstats
path: root/src/charset.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Mass update of the copyright date. Honestly I don't know why I bother,lloyd2008-02-141-1/+1
| | | | | | | but might as well keep it up to date. And it's easier to do it once with a 'perl -pi' command than to update each file over time. Apologies to anyone looking at diffs.
* Avoid C-style casts (as detected by GCC's -Wold-style-cast) and instead use lloyd2007-07-231-1/+2
| | | | static_cast or reinterpret_cast, as needed.
* Bump copyright year to 2007lloyd2007-01-201-1/+1
|
* Use cctype instead of ctype.h to put tolower into the std:: namespacelloyd2006-06-231-2/+2
|
* Use a switch instead of repeated if statements in the char<->digitlloyd2006-06-211-20/+26
| | | | conversion functions.
* Remove the to_lower function; turns out that both uses of itlloyd2006-06-191-18/+16
| | | | | | | | | | | | | | | within the library were to perform case-insensitive matching, so simply implement that instead. Place all of the character set handling functions into a Charset namespace (and update all callers). Remove the iso2local/local2iso/iso2utf/utf2iso functions, replaced by the new charset transcoder stuff. Initialize the transcoder stored in the global library state upon initialization.
* Initial checkin1.5.6lloyd2006-05-181-0/+167