[fpc-pascal] SysLocale usage

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Mon Feb 21 09:47:54 CET 2011



On Mon, 21 Feb 2011, Marco van de Voort wrote:

> In our previous episode, Tomas Hajny said:
>>> The necessary code is currently still missing from clocale on unix.
>>
>> Are the respective identifiers used on Windows platform independent?
>
> Looks totally windows specific to me. Probably that is the reason why
> clocale doesn't since you'd need large "iso-code" to Lcid tables that
> unnecessarily increase binary size.

Not necessarily. You could just emulate the windows constants. 
As long as you don't rely on the actual numerical values, this is not a
problem.

Michael.



More information about the fpc-pascal mailing list