[fpc-pascal] locale solution for unix systems

Henry Vermaak henry.vermaak at gmail.com
Fri Mar 20 11:35:24 CET 2009


2009/3/20 Marco van de Voort <marcov at stack.nl>:
>
> Does the single unix spec define the exact format for these files? Since
> otherwise they might vary between the 3/4 supported unices (solaris, OS X/FreeBSD and
> Linux) (OS X and FreeBSD sometimes share details)

you are right, according to sus website the format of the created
output (of localedef) is unspecified.
>
> Personally I don't see the use of going this way. Why not simply use iconv?

but that's just for char set conversion, how would we get the locale
data (like time/date format, etc)?  i guess we have no choice but to
parse the definition files, then.

henry



More information about the fpc-pascal mailing list