mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
commit
5f561a9575
1 changed files with 3 additions and 0 deletions
|
@ -129,6 +129,9 @@ class SickRage(object):
|
|||
try:
|
||||
locale.setlocale(locale.LC_ALL, "UTF-8")
|
||||
locale.setlocale(locale.LC_CTYPE, "UTF-8")
|
||||
except (locale.Error, IOError):
|
||||
pass
|
||||
try:
|
||||
sickbeard.SYS_ENCODING = locale.getpreferredencoding()
|
||||
except (locale.Error, IOError):
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue