IVGCVSW-4774 Add encoding flag for reading version

* Needed for testing with CI dockers which have POSIX locale

Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I0e2805cdf665274217a6cd94a6c815478c2cb402
diff --git a/python/pyarmnn/setup.py b/python/pyarmnn/setup.py
index 1c84e61..ac6ee24 100755
--- a/python/pyarmnn/setup.py
+++ b/python/pyarmnn/setup.py
@@ -34,7 +34,7 @@
 
 __current_dir = os.path.dirname(os.path.realpath(__file__))
 
-exec(open(os.path.join(__current_dir, 'src', 'pyarmnn', '_version.py')).read())
+exec(open(os.path.join(__current_dir, 'src', 'pyarmnn', '_version.py'), encoding="utf-8").read())
 
 
 class ExtensionPriorityBuilder(build_py):