Blender Git Loki
Git Commits -> Revision f5b37d4
Revision f5b37d4 by Campbell Barton (master) October 23, 2011, 07:51 (GMT) |
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. |
Commit Details:
Full Hash: f5b37d40ca51f71bed5d588f2c887bf12ab4ebdc
SVN Revision: 41216
Parent Commit: fcb8830
Lines Changed: +7, -0
1 Modified Path:
/source/blender/python/intern/bpy_interface.c (+7, -0) (Diff)