[xsd-users] problem with utf-8 encoding

Boris Kolpackov boris at codesynthesis.com
Tue Sep 30 11:04:15 EDT 2008


Hi Jan,

Jan Klimke <jan.klimke at hpi.uni-potsdam.de> writes:

> Those characters should be valid according to my mind. Their "UTF-8"
> code is 252 'ü' and 228 'ä'.

No, in UTF-8 these characters are encoded as two-byte sequences.

> Do i have to use a wchar ? Or how am i able to correctly serialize
> strings containing such characters ?

There has been a similar question not long ago. Please check these
two replies for more information on your options:

http://www.codesynthesis.com/pipermail/xsd-users/2008-June/001734.html

http://www.codesynthesis.com/pipermail/xsd-users/2008-June/001736.html

Boris




More information about the xsd-users mailing list