[Bf-committers] Python console IO encoding: PYTHONIOENCODING envvar

Bastien Montagne montagne29 at wanadoo.fr
Fri Sep 13 15:02:45 CEST 2013


Hey devs,

Just ran into this bug report: 
https://projects.blender.org/tracker/?func=detail&atid=498&aid=36722&group_id=9

Most likely, it is an issue of non-encodable char in its path (stupid 
windows...)

Anyway, searching a bit around, I found PYTHONIOENCODING envvar 
(http://docs.python.org/3/using/cmdline.html#envvar-PYTHONIOENCODING), 
which is supposed to force encoding of stdXXX streams. Are we already 
using this, or wouldn't it work in our case? Else, setting it to 
something like "utf-8:replace" could save us some issues under windows...


More information about the Bf-committers mailing list