[fpc-pascal] problems using utf8toansi

Marc Santhoff M.Santhoff at t-online.de
Mon Dec 10 13:29:58 CET 2007

Am Montag, den 10.12.2007, 11:10 +0100 schrieb Jonas Maebe:
> On 10 Dec 2007, at 08:43, Marc Santhoff wrote:

> > Confusing ...
> The system and sysutils units contain bare metal widestring support:  
> i.e., widestring support which only works (as far as alphabetical  
> ordering, upper/lowercase support and converting from/to ansistrings  
> is concerned) with ascii values <= #127. It is perfectly possible to  
> use widestrings in that way, but then they are simply using twice the  
> memory for no gain whatsoever.
> You have to add cwstring on any *nix platform to get actual ansi/ 
> widestring support for your current locale. If you don't, anything  
> can happen.

Now thing are getting clear. I'll look at sysutils and try out the
behaviour in both cases to be safe.

Thank you,

More information about the fpc-pascal mailing list