On 2017-08-16 11:05, Juha Manninen via Lazarus wrote:
Unfortunately many other programmers had the same wrong idea or they
were just lazy. The result anyway is a lot of broken UTF-16 code out
there.

Yeah, I see that even in commercial products and projects. It's very sad to see. Hence I always promote UTF-8, and you can't get it wrong as easily as UTF-16. No endianess to worry about, no surrogate pairs and UTF-8 is ready for streaming (network or disk) out of the box.

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