[fpc-devel] assign constant text to widestring

Marc Weustink marc.weustink at cuperus.nl
Thu Oct 23 13:39:00 CEST 2008


Michael Schnell wrote:
> 
>>
>> The compiler definitively eats no ucs-2 encoded sources.
>>   
> I did check several times: My source file looks like this when I open it 
> with Ultra-Edit and tell to show it in Hex:
> FF FE 75 00 6E 0069 00 74 00 20 00 55 00 6E 00 ..u.n.i.t. .U.n.

Ultraedit might fool you here. Id edits either ansi or usc2. If you have 
a utf8 encoded file, it will show the contents in hex as being ucs2

Marc




More information about the fpc-devel mailing list