UNICODE support
"Simon C" <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <000001c5d3b0$b3589900$6400a8c0@HOME> |
UNICODE support requires 4 fixes to be applied to the code execfile() will not work if the path contains Unicode, the same fix to be applied in 6 places. str() will not handle Unicode strings, two fixes, one of them in 3 places the other in 1 place. assert() will not work with Unicode paths, fix to be applied in 1 place. The execfile fix does a chdir before calling execfile with just the filename. assert is replaced with os.isfile. The str fixes involve removing it in one place (not required) and altering the code logic in the other to only operate on the filename portion of the path. I will check these in tomorrow if this is OK with everyone. Simon ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl