Re: Unicode string handling
"Roger Binns" <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <002901c65ec6$749a4280$3501a8c0@rogersqyvr14d3> |
> I don't think it is possible to only use strings/characters. > The pm225 uses the byte 0xA as a terminator for a variable length string, > not a valid iso-8859-1 character, it will give a codec error. > The iso-8859-x sets don't define a NUL so iso-8859-x cstrings would have the > same problem. The terminator is not part of the string returned and hence isn't supplied to the codec for conversion. Technically 0x0a is part of Unicode and ISO-8859-1. http://www.unicode.org/charts/PDF/U0000.pdf Roger ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642