[fpc-pascal] locale solution for unix systems
Marco van de Voort
marcov at stack.nl
Thu Mar 19 11:17:38 CET 2009
In our previous episode, Graeme Geldenhuys said:
> >> If not, can we extend the FPC locale variable to include salutation
> >> (names), telephone, measurement, paper sizes etc..
> > In that case I think we better start a 'locale' unit. I don't want to
> > burden SysUtils with even more stuff.
> Would that then mean we could fix issues like Russian locales that use
> unicode characters which do not fit into a Char size (as is used in
> the current local variables)? Or would that be a totally different can
> of worms.
I think that would be a different can of worms. Format et al are ansistring,
not widestring/unicodestring. It doesn't know about unicode, only the local
(non mbcs) charset.
More information about the fpc-pascal