On 12/12/2015 11:21 AM, Juha Manninen wrote:
On Sat, Dec 12, 2015 at 6:16 PM,  <wkitt...@windstream.net> wrote:
i mean, i'm really old school... i normally use just string or string[xx]...
sometimes ansistring... it is all so damned confusing now :(

It is no more confusing than in Delphi where the default String has
UTF-16 encoding.

i don't do delphi... never have and never will ;)

In Lazarus it is now UTF-8. Besides, it is amazingly compatible with
Delphi at source level.
In any case the current system is much better than the old AnsiString
+ dedicated UTF...() functions hack.

ok... so do we just define a var as string and stuff any old thing into it? if so, /how/ does it know that two or more bytes are for one code point or whether they are actually separate bytes? i still do a lot of stuff with the old >127 CP437 graphical characters (especially the single and double line box drawing characters) and things are really messed up at times...

--
 NOTE: No off-list assistance is given without prior approval.
       *Please keep mailing list traffic on the list* unless
       private contact is specifically requested and granted.

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to