Michael Schnell schrieb:
On 09/15/2011 09:57 AM, Graeme Geldenhuys wrote:
What the  hell has "experience"  got to  do with the  preference between
UTF-8  and UTF-16?
In fact users want to deal with "decently coded characters" and not with "cryptic bytes some of which together are representing a character". (e.g. when doing MyChar := MyString[1]; )

Here UTF-8 code in a type called "ANSISting" is a no-go.

UTF-16 code in WideChar, and WideString come quite close to this in the Western world, but I think this is not good enough.

Have a look at the many languages in the Unicode BMP (or easier: look for languages with characters *outside* the BMP). All these languages are comfortable with UTF-16, when a char is an UTF-16 WideChar.
E.g. <http://en.wikipedia.org/wiki/Plane_%28Unicode%29>

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to