[fpc-pascal] DateToStr locale
Henry Vermaak
henry.vermaak at gmail.com
Thu Nov 2 15:30:48 CET 2006
marco said:
>
> Not portable. E.g. on BSD it is /usr/share/locale
> So between 1 and 2 there should be a step "find locale dir".
>
> This because a solution is required to be Solaris, BSD and Mac OS X
> compatible.
>
true, there is a findlocale.c file under libc that deals with this.
this is a necessary step.
>> it'd quite nice to have a single function that queries certain
>> variables from certain categories (e.g. LC_MONETARY, LC_TIME,
>> LC_NUMERIC).
michael said:
>That can be done too, but since all constants are in 1 file, it makes
>more sense to process the file at once.
there is a separate file for each category, it seems.
i'll try and investigate further and look for the posix docs. thanks
for the comments.
henry
More information about the fpc-pascal
mailing list