shader-debugger: Force file/stdout IO as UTF-8
authorRémi Cardona <remi@gentoo.org>
Sun, 17 Aug 2014 23:09:15 +0000 (01:09 +0200)
committerDamien Lespiau <damien.lespiau@intel.com>
Wed, 27 Aug 2014 07:56:08 +0000 (08:56 +0100)
commit2ef19ad79a07d862a2dc799ab2e71d2ad91c9065
treec2fe8c0d2cc637133d5ad466d31db9c82dda22b8
parent257a51ec955b178ed07e4797a7d36f35a8cc82fe
shader-debugger: Force file/stdout IO as UTF-8

Not all locales on linux are UTF-8, the most notable being the C locale.
Python will use the ASCII codec for stream IO in this case and will barf
on the Copyright sign at the top of .g4a files.

Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=519434
Signed-off-by: Rémi Cardona <remi@gentoo.org>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
debugger/system_routine/pre_cpp.py