Re: [fpc-pascal] UnicodeString and surrogate pairs

2016-04-30 Thread Graeme Geldenhuys
Hello Michael, On 2016-04-29 at 11:23 you wrote: > > No, because UTF-8 doesn't use surrogate pairs. > Really ? Yes. > those to be combined to a different printable thingy (/e.g. "A" plus > "add two dots above" to crate a "Ä"). No, that is something totally different and not what I was talkin

Re: [fpc-pascal] UnicodeString and surrogate pairs

2016-04-30 Thread Martin Schreiber
On Saturday 30 April 2016 12:12:35 Graeme Geldenhuys wrote: > > Anyway, I was refering to surrogate pairs (applies to UTF-16 only) > One could say that utf-8 has surrogate pairs, surrogate triplets and surrogate quads. Martin ___ fpc-pascal maillist -

Re: [fpc-pascal] UnicodeString and surrogate pairs

2016-04-30 Thread Graeme Geldenhuys
On 2016-04-30 11:32, Martin Schreiber wrote: > One could say that utf-8 has surrogate pairs, surrogate triplets and > surrogate > quads. No, don't confuse the point. As per the Unicode Standards definition of "surrogate pairs", UTF-8 and UTF-32 don't have surrogate pairs. Regards, Graeme __