#3440: charset should be ignored for application/x-bittorrent
----------------------+----------------------------
  Reporter:  megaksa  |      Owner:
      Type:  bug      |     Status:  new
  Priority:  major    |  Milestone:  needs verified
 Component:  Core     |    Version:  master
Resolution:           |   Keywords:
----------------------+----------------------------

Comment (by Cas):

 We need more a bit information about the exact problem. Are the torrent
 downloads in UTF8 and decoding with Windows-1251 is corrupting the data?
 What is the error you are encountering?

 I am wary of changing the way httpdownloader works as it could have
 unintended consequences.

 I would propose to not re-encode application/x-bittorrent (it should be
 utf8...) so in request_callback don't set encoding if content-type is
 application/x-bittorrent.

 {{{
 if "application/x-bittorrent" not in content_type:
     encoding = charset
 }}}

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3440#comment:1>
Deluge <https://deluge-torrent.org/>
Deluge Project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/deluge-dev/061.d52c7df9227853460e9545f46dd8d62f%40deluge-torrent.org.

Reply via email to