[fpc-pascal] locale solution for unix systems
Marco van de Voort
marcov at stack.nl
Fri Mar 20 11:18:02 CET 2009
In our previous episode, Henry Vermaak said:
> >> /usr/local/share/locale/, but the directory structure is there.
> >
> > I should have mentioned that it is FreeBSD. /usr/local is probably the same,
> > writable by ports. ?I have .mo files in /usr/share/locale/<code>/LC_MESSAGES
> > but also other LC_ files with locale info are there.
> >
> > I don't have any of the other dirs mentioned.
>
> where does localedef put the compiled files on bsd? localedef is part
> of the single unix spec, so we should probably parse the compiled
> files (like libc)
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)
> since this will be _much_ faster.
Personally I don't see the use of going this way. Why not simply use iconv?
More information about the fpc-pascal
mailing list