Felipe Monteiro de Carvalho wrote:
Hi,
I would like which would be the theoritical way that Free Pascal could
support an always utf-8 encoded string (if it will be supported). With
that I mean a string which when set by code is converted from
widestring to utf-8 in despite of any environmental conditions, or
operating system conditions. So I can open a feature request for it.
You can do this yourself, just create a record containing an ansistring
and then use operator overloading to control how it behaves in
assignments to other types.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel