[mythtv-users] Log output of user jobs via MythLog class?

Nicolas Krzywinski myth at site7even.de
Wed Sep 10 19:45:23 UTC 2014


Am 12.05.2014, 03:44 Uhr, schrieb Michael T. Dean  
<mtdean at thirdcontact.com>:

> AIUI, Python tries to guess the appropriate character set to use for  
> stdin/stdout/stderr based on the environment and in some cases--like  
> when called through a pipe or redirect or ... will go back to ASCII.   
> You can force it to use UTF-8 with something like:
>  PYTHONIOENCODING=utf-8 /path/to/myscript.py
>  https://docs.python.org/2/using/cmdline.html#envvar-PYTHONIOENCODING
>  Mike
Awesome, Mike, this worked!
Another issue solved now. :)

Thank you very much!
Nicolas

-- 
Erstellt mit Operas E-Mail-Modul: http://www.opera.com/mail/


More information about the mythtv-users mailing list