[fpc-pascal] Funny things about utf-8 strings on mac

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Jun 13 10:52:03 CEST 2007


On 13 jun 2007, at 07:32, Daniƫl Mantione wrote:

> Op Wed, 13 Jun 2007, schreef Felipe Monteiro de Carvalho:
>
>> How would I then be sure that my string is never converted (or always
>> converted from utf-8 to utf-8 if prefered), but just passed like I
>> wrote it to the library that I am using?
>
> Add the cwstring unit, and run it in an utf-8 terminal.

Sorry, but this view is too "terminal-centric" as far as I am  
concerned. That's not something you want to tell users of a GUI app.  
Or even programmers, for that matter. I really don't see a reason why  
this should not be configurable by the programmer himself.


Jonas


More information about the fpc-pascal mailing list