[Lazarus] String vs WideString

Michael Schnell mschnell at lumino.de
Wed Aug 16 11:33:04 CEST 2017


On 16.08.2017 11:08, Graeme Geldenhuys via Lazarus wrote:
> So it makes sense that TStrings should use UnicodeString internally to 
> store its data. The Unicode standard is also the only standard that 
> can support any language. 
But in fact "Unicode" is just a universal standard defining 64 bit 
entities. The encoding of those varies: UTF-8, UTF-16 high byte first,  
UTF-16 low byte first,  64 bit low byte first, 64 bit high byte first, 
.... fpc and Delphi do support several of those as a string encoding 
(and with that crating any number of problems).

-Michael


More information about the Lazarus mailing list