[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: UniversalString throws exception
Quoting "Sivakumar S - CTD, Chennai." <sivakumars@xxxxxxxxxxx>:
> I have given below the piece of code I tried:
> int main()
> {
> UniversalString ustr;
> char ich[32]="Lé Royal Meridian";
...
> Exception Thrown Snacc Invalid UTF-8 string
Maybe a stupid question, but: Are you sure you are using UTF-8
and not the incompatible ISO-8859-1? 0xE9 would be eacute in
ISO-8859-1, but (here) illegal in UTF-8. 0xC3A9 is correct.
Cheers, WB
http://people.debian.org/~debacle/