Opened 2 years ago
Last modified 2 years ago
#3539 new bug
Tracker error alerts breaks with foreign chars.
Reported by: | mhertz | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | needs verified |
Component: | Core | Version: | develop |
Keywords: | Cc: |
Description
Forum member highvoltage reported issue with this error encountered:
builtins.UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe3 in position 7: invalid continuation byte
https://i.imgur.com/OeaX1re.jpg
Initially I though if it could be because deluge.common.decode_bytes() 'excepts' UniCodeDecodeError, but here is the explicit "builtins" preceded version of it(even though are same, but regardless), but I tested that through triggered such error artificially and indeed saw it 'excepts' it fine still with that, so not that - Just don't understand how can happen when decode_bytes() explicitly 'excepts' this error after running through it's defined charset's in "strict-decoding" and then should end with "ignore", but i'm sure you can though :)
Thanks in advance!