[fpc-devel] assign constant text to widestring

Marc Weustink marc.weustink at cuperus.nl
Thu Oct 23 14:04:12 CEST 2008

Michael Schnell wrote:
>> Since it converts the UTF8 file internally to UCS2 on read before 
>> editing.
> Seems really silly to me.

No it's not. This way you have internally only to support 2 editors. One 
with bytechars and one with wordchars (ignoring surrogates and other stuff)

> But the file length really indicated that it's utf8 coded and when 
> looking at the file with WinCommander's hex viewer it's utf-8. So I 
> suppose that you are right and the nasty trick is Ultraedit's.

Yes, since auto conversion by the OS i find very unlikely

(yes I once tripped over this with ultraedit too)


More information about the fpc-devel mailing list