[Lazarus] String vs WideString
Graeme Geldenhuys
mailinglists at geldenhuys.co.uk
Tue Aug 15 19:18:01 CEST 2017
On 2017-08-15 10:52, Michael Van Canneyt via Lazarus wrote:
> The only 'problem' is that TStrings uses a single-byte string.
Why can't that be changed to a UnicodeString or UTF8String - after all,
the Unicode standard is meant to support all languages. I would have
thought that would be an obvious move for a Unicode-aware RTL. TStrings
could also be extended (if it hasn't already) to keep track of what
encoding is read in from file, and what encoding in should procedure
when lines are extracted - in case those two encodings are not the same.
Regards,
Graeme
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the Lazarus
mailing list