On 24.09.2008, at 17:08, Albrecht Schlosser wrote:
> All fonts have the same problems, e.g.
>
> word -> looks like:
> -------------------
> schließen -> schlie?n
> Auflösung -> Aufl?g
> größe: 98 -> gr? 98



Well, unicode encodes characters in 32bit (currently only the lower 24  
bits are used). utf8 is kind of a compression system that converts  
24bit numbers into multiple 8bit numbers. To simplify life, characters  
127 and below stay the same, wheter encoded in utf8 or not. Characters  
above 127 however describe different ways of compressing the original  
24 bit character.

I won't go into detail, but it is enough to know that there are  
illegal sequences, for example, "ös" in ISO genrates a byte sequence  
that would be illegal in utf8. Maybe MSWindwos and OS X recognize  
illegal sequences and assume ISO encoding. The correct way though  
would be to convert all source files from ISO to UTF8.

----
http://robowerk.com/


_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to