RE: Phone encodings (revisited)
"Simon C" <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <002801c65689$3e3b9bc0$0201a8c0@HOME> |
> >How can the STRING class determine which charset to use if the phone > >supports more than one? > > It should iterate through the supported charsets untill the > conversion is successful. If none is found, it should behave as-is. This will prevent control over the charset of a particular field in a packet. Say the filesystem on a phone uses the ascii charset and the phonebook uses latin-1. A user creates a directory with a name containing an accented e. The STRING class will iterate through the supported charsets, convert it to latin-1 and send it to the phone instead of giving an error. Simon ------------------------------------------------------- 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