[fpc-pascal] locale solution for unix systems

Marco van de Voort marcov at stack.nl
Thu Mar 19 11:37:07 CET 2009


In our previous episode, Florian Klaempfl said:
> >> 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 
> 
> Format has a widestring flavour?

True. Missed that.  I quickly looked, and noticed two things:

- Does it (still) work, since it seems to include an includefile with
  functions as implementation that return a "char"?
- The tformatsettings is still ansistring. However if the default locale is
   UTF-8 this might translate to unicode?





More information about the fpc-pascal mailing list