From e88ef30ce6420e9bed5ad956ef144eb8ef936d0a Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 30 May 2019 22:20:15 -0400 Subject: [PATCH] Adds recommended fix for 0xc3 in position 12 error. --- OSBindings/SDL/SConstruct | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OSBindings/SDL/SConstruct b/OSBindings/SDL/SConstruct index 2bc56fea6..bfa96a418 100644 --- a/OSBindings/SDL/SConstruct +++ b/OSBindings/SDL/SConstruct @@ -1,4 +1,9 @@ import glob +import sys + +# establish UTF-8 encoding +reload(sys) +sys.setdefaultencoding('utf-8') # create build environment env = Environment()