When running on non-unicode locales there are possibility to see something
like that:

Traceback (most recent call last):
    File "/home/phoenix/temp/1/gpodder-0.10.2/doc/dev/gdfs/gdfs-init.py",
line 57, in <module>
      os.link( filename, episode_file)
    File "/usr/lib/python2.5/encodings/koi8_r.py", line 12, in encode
      return codecs.charmap_encode(input,errors,encoding_table)
UnicodeEncodeError: 'charmap' codec can't encode character u'\xab' in
position 117: character maps to <undefined>

That's because not all symbols (even common) mapped utf -> 1 byte codepage
properly. For example, I use koi8-r (russian locale) and I can't store
files with umlauts in names. Is there any workaround? Iconv, for example,
have a -c option to omit any illegal characters. But this script uses  
python internal routines. Maybe piping through iconv will help...
-- 
Best regards
Leonid "PhoeniX" Ponomarev
Jabber: [EMAIL PROTECTED]
_______________________________________________
gpodder-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-devel

Reply via email to