[xsd-users] A Question about Unicode Character

lvkun lvkun2006 at gmail.com
Tue Apr 15 05:57:34 EDT 2008


Thank you!
In the serialization process(I have to put some Chinese character into some
string-type element) :
	When I use "UTF-8"(char-type: wchar_t ), the output have messy code.
	When I use "UTF-8"(char-type:char), it throw out
exception(invalid_utf8_string) .
	When I use "UTF-16"(char-type:wchar_t), the string I get is
unexpected. I need to convert the string to CString(MFC). So I tried to
convert it to wstring first.




More information about the xsd-users mailing list