putty/charset
Simon Tatham 20e36ae4a2 Fix a collection of type / format string mismatches.
Ilya Shipitsin sent me a list of errors reported by a tool 'cppcheck',
which I hadn't seen before, together with some fixes for things
already taken off that list. This change picks out all the things from
the remaining list that I could quickly identify as actual errors,
which it turns out are all format-string goofs along the lines of
using a %d with an unsigned int, or a %u with a signed int, or (in the
cases in charset/utf8.c) an actual _size_ mismatch which could in
principle have caused trouble on a big-endian target.
2017-06-20 07:05:39 +01:00
..
README Update status of this library wrt other variants. 2005-12-18 17:05:21 +00:00
charset.h Support code page 852. Thanks to Tamas Tevesz. 2011-10-14 07:03:29 +00:00
enum.c First draft of Unicode support in pterm. It's pretty complete: it 2002-12-31 12:20:34 +00:00
fromucs.c Add some missing consts in character set handling. 2011-09-16 19:18:52 +00:00
internal.h First draft of Unicode support in pterm. It's pretty complete: it 2002-12-31 12:20:34 +00:00
localenc.c It's probably well past time for this: change PuTTY's default 2013-05-25 14:03:19 +00:00
macenc.c Rework versioning system to not depend on Subversion. 2014-09-24 10:33:13 +00:00
mimeenc.c Support code page 852. Thanks to Tamas Tevesz. 2011-10-14 07:03:29 +00:00
sbcs.c Having painstakingly generated those reverse mapping tables in 2003-01-01 17:03:27 +00:00
sbcs.dat Support code page 852. Thanks to Tamas Tevesz. 2011-10-14 07:03:29 +00:00
sbcsgen.pl sbcsgen.pl was giving different results on different machines in the case 2006-04-26 23:01:06 +00:00
slookup.c First draft of Unicode support in pterm. It's pretty complete: it 2002-12-31 12:20:34 +00:00
toucs.c Add some missing consts in character set handling. 2011-09-16 19:18:52 +00:00
utf8.c Fix a collection of type / format string mismatches. 2017-06-20 07:05:39 +01:00
xenc.c Support code page 852. Thanks to Tamas Tevesz. 2011-10-14 07:03:29 +00:00

README

This subdirectory contains a general character-set conversion
library, used in the Unix port of PuTTY, and available for use in
other ports if it should happen to be useful.

This is a variant of a library that's currently used in some other
programs such as Timber and Halibut. At some future date, we would
like to merge the two libraries, so that all programs use the same
libcharset.

It is therefore a _strong_ design goal that this library should remain
perfectly general, and not tied to particulars of PuTTY. It must not
reference any code outside its own subdirectory; it should not have
PuTTY-specific helper routines added to it unless they can be
documented in a general manner which might make them useful in other
circumstances as well.