On 01.01.2014 19:50, Marco van de Voort wrote:
On Tue, Dec 31, 2013 at 03:25:03PM +0100, Sven Barth wrote:
As Michael wrote the locale specific constants will become UnicodeChar (2
Byte UTF-16) thus the U+00A0 will fit nicely there. The only problems would
arise if such a constant would need to be composed of multiple UnicodeChars
(codepoints?).

No. A codepoint is a 32-bit number.  UTF8 and 16 encode these in shorter
space only.

A character is one more codepoints. (usually a main codepoint, and
codepoints for accents)

Thanks for clarifying the terms. I hope I remember them till the next Unicode discussion :P


Still it might not be a bad idea to make such things a string instead of a
character in time.

Might need adjustment inside the corresponding routines though as they might expect to only work with one Ansi-/UnicodeChar.

Regards,
Sven

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

Reply via email to