On 10.09.2008, at 14:52, MacArthur, Ian (SELEX GALILEO, UK) wrote:
> Editing complex scripts is *hard*
Trivia:
Reading through various documentation, my own language, German, has
several pitfalls I was not aware of. Converting the word "measurments"
in German from lower to upper case is a problem: Maße -> MASSE .
Ooops, the new string is one character longer (but 1 byte shorter in
utf8, btw.)! Now, converting back to lower case is close to
impossible, because even though "Masse" is a valid German word, only
it means something entirely different ("mass") than "Maße". The
tolower() function would have to understand the entire context in
which the word is used.
In conclusion: no need to look to the far east for impossible unicode
string handling. It's right here.
Matthias Melcher (mumbeling: fast and light, fast and light, fast
and light...)
----
http://robowerk.com/
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev