[fpc-pascal] Funny things about utf-8 strings on mac
florian at freepascal.org
Tue Jun 12 11:41:04 CEST 2007
Felipe Monteiro de Carvalho schrieb:
> Daniel Mantione wrong some coments on my bug report:
> Could someone elaborate on this? I did't really understand
> Looks somewhat illogical to me ... so I write a UTF-8 string and need
> a widestring managed? But I am not using widestrings ...
You're. String constants containing chars > 127 are obviously as
widestrings because when you give a code page in the source, you want
another encoding then the system's default i.e. the compiler needs to remap.
> And then it will convert the string to iso??
... or utf-8 ... depending on the setting of the system running the program.
> Where does he get iso
On windows by default, on unixes by using cwstrings.
> My app is using utf-8 ..
More information about the fpc-pascal