[fpc-devel] Unicode support (again)

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Nov 11 10:00:33 CET 2008


2008/11/11 Michael Schnell <mschnell at lumino.de>:
>
>> Edit1.Caption := UTF8Encode('hallo äöü');
>
> Grrrrrrr, how ugly !
>
> No "old school" Delphi user will understand/accept that you can't just do
> "Edit1.Caption := 'hallo äöü';"

I agree... When I think Unicode support I think the following should
be valid and handled correctly:

var
  s: string;
begin
   s := 'hallo äöü';
   Edit1.Caption := 'hallo äöü';
   Edit2.Caption := s;
   ....
end;


Surely this is allowed and works correctly under D2009, otherwise I
really misunderstood Unicode support in D2009.


Regards,
  - Graeme -


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


More information about the fpc-devel mailing list