[Lazarus] cwstring in arm-linux

Michael Schnell mschnell at lumino.de
Fri Oct 21 15:02:11 CEST 2011


On 10/21/2011 02:18 PM, Žilvinas Ledas wrote:
>
> What if a file on the user computer has...
If you deal with the content of files you did not write yourself, you of 
course need to deal with whatever encoding same has been done in (maybe 
its EBCDIC :) ). This is unavoidable and if you are so unhappy that you 
need to consider that the file is done in Unicode, you of course need to 
upgrade to being a Unicode expert.

But if you just deal with the user's GUI input and output and with files 
that you wrote yourself in some default encoding code the language tools 
define, IMHO a decent language should do whatever possible to hide the 
complexity.

As said: I'm not sure to what extent this is possible and whether Delphi 
does a good job here, so I don't intend to question any decision done by 
the Lazarus team now (for FPC without "new" strings) or in future with 
FPC with whatever implementation of a "new" string feature).

-Michael




More information about the Lazarus mailing list