> This is not true.  std::string and UTF-8 are fully compatible, as long as
> you make no assumptions about chopping things up at arbitrary indices, or
> the relationship of Unicode code points and UTF-8 code units.  At any rate,
> with a double-byte or multi-byte locale code page, you'd have the same
> issues.
>
I do not really understand what you want to say here. As far as I know 
std::string stores strings in single byte units. In UTF-8 the units have 
variable length between 1 and 4 bytes. So I cannot see a match here.
I thought to use UTF-8 with the STL you need something like 
std::basic_string<UTFChar>.

Could you tell me, how to transcode the XMLChar* correctly using UTF-8?

Sven

Reply via email to