Micha Nelissen napsal(a):
> ik wrote:
>>> The part after the dot in $LANG. It's possible though that there is no
>>> dot, no idea what to do, maybe assume iso-8859-1 ?
>>
>> No, that will be really bad idea to assume iso-8859-1 . It really
>> depends on the country and language code. For example :
>
> It doesn't depend on the language, but on the font. OTOH, it's probably
> a good assumption people have configured a proper font for their language.

That assumption is correct, but not directly useable, unless you want to
maintain information about useable character sets for all possible locale
combinations (I don't ;-) ).

Tomas

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to