> 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.

Yup - that does look insolvably complex.
Maybe we need a version of tolower that returns a list of possible 
transformations, then the user could click through them until they find the one 
they like... ;-)

Sometimes I'm glad I have English as my first language...
-- 
Ian



SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to