2008/11/9 Stefan de Konink <[EMAIL PROTECTED]>

> Chris Browet wrote:
>
>> UTF16 is just the default for Qt strings ;-) wchar* is UTF16, too. There
>> definitely are UTF characters used, so char* is probably too restrictive,
>> unless you handle UTF yourself.
>>
>
> But like char* utfX is terminated by \0 too right? And is backwards
> compatible?
>
UTF8 is backward compatibles, as an ascii string will have the same
representation as a char* one in UTF8.
UTF16 is always 2 char, so is not.
Both have \0, too, although UTF16 actually have 00 00.
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to