Updated docs to correspond to recent 'uppercase' change (attempt ;^) )

This commit is contained in:
William Kendrick 2004-09-14 08:00:27 +00:00
parent 0910a33c73
commit f5a4fce6f0
2 changed files with 15 additions and 10 deletions

View file

@ -8,6 +8,9 @@ http://www.newbreedsoftware.com/tuxpaint/
2004.September.13 (0.9.14) [cvs]
* Initial work to get proper uppercase support in languages other
than English.
* Added lockfile support, to prevent Tux Paint from being launched more
than once every 30 seconds. (Disable with "--nolockfile" command-line
argument.) Thanks to Darci Lindgren for suggestion the feature, and

View file

@ -6,7 +6,7 @@ Copyright (c) 2004 by Bill Kendrick
bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/
September 7, 2004
September 14, 2004
HIGH-PRIORITY DOCUMENTATION CHANGES:
------------------------------------
@ -130,15 +130,17 @@ PLATFORM-SPECIFIC BUGS:
HIGH-PRIORITY I18n STUFF:
-------------------------
* Non-ASCII characters (in translations) aren't uppercased when using
'--uppercase'. Example: In the Norwegian Nynorsk ('nn') translation
the top left icon is shown as 'MåLING' instead of 'MÅLING'.
To fix: Convert to wide chars, use 'towupper' instead of 'toupper',
and convert back to UTF-8. 'mbstowcs' and 'wcstombs' unfortunately
depend on on LC_CTYPE, so the encoding they use is locale dependent
(and *not* necessarily UTF-8, which our strings are in). On the other
hand, 'towupper' must be locale-aware for correct conversion (e.g. a
Turkish uppercase 'i' is *not* an 'I').
* Make sure characters are properly converted when using
'--uppercase' in locales that have uppercase letters.
Currently using 'mbstowcs' and 'wcstombs' to convert between
UFT-8 and wide chars, and using 'towupper' (instead of 'toupper') to
convert from lowercase to uppercase.
Karl says: "'mbstowcs' and 'wcstombs' unfortunately depend on on LC_CTYPE,
so the encoding they use is locale dependent (and *not* necessarily UTF-8,
which our strings are in). On the other hand, 'towupper' must be
locale-aware for correct conversion (e.g. a Turkish uppercase 'i' is *not*
an 'I')."
* Make right-to-left strings not wordwrap with the shortest line at
the top!