Re: Displaying Hebrew characters
"Roger Binns" <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <029101c5132e$045e7610$3501a8c0@rogersqyvr14d3> |
> Ok, I have a workaround that will alow me to work for now:
> some_string.decode('cp1255') right where I get the string. I think after
> I get something working I can work on adding an encoding listbox to the
> settings dialog and enforce its value in (I think) common.py:
> forceascii->force_user_enc or something. Haven't really dug in yet.
That is definitely the wrong place to go about this. The conversion
and configuration needs to be done at the place the string arrives.
You didn't say where it was but I assume it is the phone module.
The phone module should be converting to Unicode as it reads the
value in, and convert from unicode when writing back out.
Is that particular model used anywhere else in the world?
Roger
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click