[fpc-devel] assign constant text to widestring

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Oct 24 14:03:59 CEST 2008


On 24 Oct 2008, at 13:59, Michael Schnell wrote:

>> Last time I cheked it on Windows no UpperCase is performed for
>> WideString for codepoints > 127, maybe it has been changed recently  
>> (1
>> month).
> With which software ?
>
> In my tests, If I create the WideString correctly (which  is needed  
> to be done with an explicit call to a conversion from utf8String),  
> uppercase works for the German Umlauts äöü..
> With Turbo Delphi it easily works, as WideStrings are correctly  
> converted from ANSIStrings automatically.

They are in FPC as well, at least if your ansistrings contain ansi- 
encoded strings. I think you are mixing Lazarus and FPC in the above  
(because Lazarus puts utf-8 encoded stuff in ansistrings).


Jonas


More information about the fpc-devel mailing list