Closed tmelin closed 8 years ago
I could not reproduce the error with 'ä' or 'ö' in Windows. In what environment did you get the error? What was the exact error?
It's on Linux, Python 2.7.6
Error like this: ... areena/main.py", line 574, in search if query.lower() in title.lower(): UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128) -->End of Python script error report<--
Decode search query as utf-8 before using lower() to fix searching of series with scands and other non-ascii chars in their name.
Signed-off-by: Tomas Melin tomas.melin@iki.fi