Ticket #234 (new task)
Opened 10 months ago
search results with non-ascii characters are displayed incorrectly
| Reported by: | anonymous | Owned by: | daelstorm |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | nicotine | Version: | |
| Keywords: | Cc: |
Description
Search results from Soulseek clients (not Nicotine+ clients, tested it on myself) that have funny characters (e.g. characters with umlauts) in them display incorrectly: the funny character and two normal ones following it are replaced by a single color-inverted question mark ("täna" becomes "t�"). I believe this happens because Soulseek sends the results in iso8859-something(15?), but Nicotine+ expects utf8. I believe so because I see many �'s in the estonian "eesti mehed" chat room when the encoding is set utf8, but not when it's iso8859-15.
I understand the benefits of utf8 and I know that the proper way to fix the problem is to make Soulseek use unicode, but until then (is it ever going to happen?) we need a work-around. If it's possible to automatically identify the charset used or whether the client that sent the search result is unicode-capable, then problem solved. If not, I think an option to manually set the charset of different search tabs (just like in chat tabs) would be sufficient, for now.
