[Standards-JIG] Still not sure ...
m at tthias.net
Thu Sep 9 08:08:34 UTC 2004
I am still not sure if it has been a good idea, that xmpp core 3.1
limits the length of the portions in a JID to 1023 B in UTF-8 encoding.
This might seem to be a good choice for programs using 8 bit character
types ... but it makes it hard to check if a JID is valid if you use
wide character types like wchar_t in modern C/C++ or the standard character
type of Java.
For most modern languages it seems to be easier to check the number of
characters in a string than the number of bytes in a corresponding UTF-8
Fon: +49-(0)70 0770 07770 http://web.amessage.info
HAM: DB1MW xmpp:mawis at amessage.info
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: Digital signature
More information about the Standards