From 1e15cd25217fad008069765f0d222542cdd0325e Mon Sep 17 00:00:00 2001 From: Karl Ove Hufthammer Date: Wed, 21 Jul 2004 17:50:18 +0000 Subject: [PATCH] Added detailed uppercase-bug info. --- docs/TODO.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/TODO.txt b/docs/TODO.txt index d6723a141..d89a0b551 100644 --- a/docs/TODO.txt +++ b/docs/TODO.txt @@ -116,6 +116,16 @@ PLATFORM-SPECIFIC BUGS: HIGH-PRIORITY TRANSLATION 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 right-to-left strings not wordwrap with the shortest line at the top!