diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-23 11:51:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-23 11:51:21 +0400 |
commit | f5b37d40ca51f71bed5d588f2c887bf12ab4ebdc (patch) | |
tree | 61d627cfad5d65fee1cda657128a0eb12187667a /release | |
parent | fcb88306b4794e75114038cdc90026ffa3b375fc (diff) |
set pythons 'sys.stdout' encoding to utf-8 and use surrogateescape error handler.
without this printing a unicode string may raise an error which is a real pain especially since script authors often forget this and print the path of a file for example on export which can make a script fail outright when writing to paths with certain encodings.
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions