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
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to