[fpc-devel] Unicode support (again)

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Nov 11 17:11:11 CET 2008


On Tue, Nov 11, 2008 at 6:05 PM, Michael Schnell <mschnell at lumino.de> wrote:
>
> So I suppose it does not set the FPC option to use UTF8String instead of
> WideString for non-ASCII string constants. MSEGUI works here, too, because
> of this.

I set no special options in FPC and I don't use WideString at all.
UTF-8 fits perfectly in the standard String type.

That's why I don't understand all the discussion around FPC and
Unicode. Why can't we just choose an encoding (for example UTF-8) and
use it internally in FPC. Why must FPC support native UTF-16, UTF-8,
ANSI etc....  UTF-8 manages backward compatibility perfectly!

Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-devel mailing list