steveholt wrote:
I'm curious if there are any plans to implement encodings in BitTornado, or whether there is something holding this back? I've looked at the code, and it seems like using unicode strings in a few places should be all that's required (since wxgtk 2.6 supports unicode). I'd be willing to make a patch containing those changes if that's all that's needed.
Yes please. for god's sake, please. if shad0w won't, someone please do it.
forums.degreez.net/viewtopic.php?t=7110
these changes will get unicode filenames and folders working but it will give an error when try to display non US unicode chars in the gui itself on the details page. unicode chars still display as ascii garbage in the torrent title.
getting unicode torrents working 100% in bittornado will allow me to once and for all kill utorrent from my system. heres hoping.
this is the error I get ehen viewing the detais page with japanese or other non US unicode file names when those changes in that thread are used. without those unicode changes theres no error but they display as ascii garbage
(also, you need to switch to the unicode wxPython build instead of ansi as usual for bittornado, iirc the OPs error is caused by compiling bittornado with the unicode wxPython instead of ansi))
BitTorrent T-0.3.18 (BitTornado)
OS: win32
Python version: 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]
wxWindows version: 2.6.3.3
Allocation method: normal
Traceback (most recent call last):
File "btdownloadgui.py", line 930, in details
File "wx\_controls.pyc", line 4637, in SetStringItem
File "encodings\cp1252.pyc", line 15, in decode
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 5: character maps to <undefined>
Also, what are the required packages/method of compiling bittornado on windows?
I've tried compiling T-0.3.18 without any changes and auto resume just won't work. the T-0.3.18 install package on the site works fine.
the packages I used are
python-2.5.1.msi
wxPython2.6-win32-ansi-2.6.3.3-py25.exe
pywin32-210.win32-py2.5.exe
py2exe-0.6.6.win32-py2.5.exe
pycrypto-2.0.1.win32-py2.5.exe
and compiled with "python winsetup.py py2exe"