summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2018-11-08 19:00:04 +0000
committerEric Engestrom <eric@engestrom.ch>2018-11-08 20:17:27 +0000
commit1cdfa43c5cb7b18f2f384c7867e99737f7351f3d (patch)
tree7e937e87482062545dcde95cd1eb416b4e5871a0
parent5b3566f78490026b38ff03d602655ce3afb5ecb1 (diff)
python: add explicit utf-8 encoding
I went with `# coding=utf-8` as it was the most common format in the existing code: 24 # coding=utf-8 21 ## coding=utf-8 19 # encoding=utf-8 9 ## encoding=utf-8 6 # -*- coding: utf-8 -*- I added it as the first line after the shebang, if any. Suggested-by: Dylan Baker <dylan@pnwbakers.com> Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
-rw-r--r--framework/__init__.py1
-rw-r--r--framework/backends/__init__.py1
-rw-r--r--framework/backends/abstract.py1
-rw-r--r--framework/backends/compression.py1
-rw-r--r--framework/backends/json.py1
-rw-r--r--framework/backends/junit.py1
-rw-r--r--framework/backends/register.py1
-rw-r--r--framework/compat.py1
-rw-r--r--framework/core.py1
-rw-r--r--framework/dmesg.py1
-rw-r--r--framework/driver_classifier.py1
-rw-r--r--framework/exceptions.py1
-rw-r--r--framework/grouptools.py1
-rw-r--r--framework/log.py1
-rw-r--r--framework/monitoring.py1
-rw-r--r--framework/options.py1
-rw-r--r--framework/profile.py1
-rw-r--r--framework/programs/parsers.py1
-rw-r--r--framework/programs/print_commands.py1
-rw-r--r--framework/programs/run.py1
-rw-r--r--framework/programs/summary.py1
-rw-r--r--framework/results.py1
-rw-r--r--framework/status.py1
-rw-r--r--framework/summary/__init__.py1
-rw-r--r--framework/summary/common.py1
-rw-r--r--framework/summary/console_.py1
-rw-r--r--framework/summary/feature.py1
-rw-r--r--framework/summary/html_.py1
-rw-r--r--framework/test/__init__.py1
-rw-r--r--framework/test/base.py1
-rw-r--r--framework/test/deqp.py1
-rw-r--r--framework/test/glsl_parser_test.py1
-rw-r--r--framework/test/gtest.py1
-rw-r--r--framework/test/oclconform.py1
-rw-r--r--framework/test/opencv.py1
-rw-r--r--framework/test/opengl.py1
-rw-r--r--framework/test/piglit_test.py1
-rw-r--r--framework/test/shader_test.py1
-rw-r--r--framework/wflinfo.py1
-rw-r--r--generated_tests/gen_cl_common_builtins.py1
-rw-r--r--generated_tests/gen_cl_int_builtins.py1
-rw-r--r--generated_tests/gen_cl_math_builtins.py1
-rw-r--r--generated_tests/gen_cl_relational_builtins.py1
-rw-r--r--generated_tests/gen_cl_shuffle2_builtins.py1
-rw-r--r--generated_tests/gen_cl_shuffle_builtins.py1
-rw-r--r--generated_tests/gen_cl_store_tests.py1
-rw-r--r--generated_tests/gen_cl_vload_tests.py1
-rw-r--r--generated_tests/gen_cl_vstore_tests.py1
-rw-r--r--generated_tests/gen_const_builtin_equal_tests.py1
-rw-r--r--generated_tests/gen_outerproduct_invalid_params.py1
-rw-r--r--generated_tests/gen_outerproduct_tests.py1
-rw-r--r--generated_tests/gen_texture_lod_tests.py1
-rw-r--r--generated_tests/gen_variable_index_read_tests.py1
-rw-r--r--generated_tests/gen_variable_index_write_tests.py1
-rw-r--r--generated_tests/genclbuiltins.py1
-rw-r--r--generated_tests/modules/__init__.py1
-rw-r--r--generated_tests/modules/utils.py1
-rw-r--r--generated_tests/random_ubo-arb_uniform_buffer_object.py1
-rw-r--r--generated_tests/random_ubo.py1
-rw-r--r--generated_tests/random_ubo_trim.py1
-rw-r--r--generated_tests/templates/__init__.py1
-rwxr-xr-xpiglit-print-commands.py1
-rwxr-xr-xpiglit-resume.py1
-rwxr-xr-xpiglit-run.py1
-rwxr-xr-xpiglit-summary-html.py1
-rwxr-xr-xpiglit-summary.py1
-rw-r--r--registry/gl.py1
-rwxr-xr-xtests/apitrace/test-trace.py1
-rw-r--r--tests/crucible.py1
-rw-r--r--tests/cts_gl.py1
-rw-r--r--tests/cts_gl45.py1
-rw-r--r--tests/cts_gles.py1
-rw-r--r--tests/deqp_gles2.py1
-rw-r--r--tests/deqp_gles3.py1
-rw-r--r--tests/deqp_gles31.py1
-rw-r--r--tests/deqp_vk.py1
-rw-r--r--tests/es3conform.py1
-rw-r--r--tests/glslparser.py1
-rwxr-xr-xtests/glslparsertest/glsl2/gen_builtin_test.py1
-rw-r--r--tests/gtf_gl.py1
-rw-r--r--tests/gtf_gles.py1
-rw-r--r--tests/igt.py1
-rw-r--r--tests/khr_gl.py1
-rw-r--r--tests/khr_gl45.py1
-rw-r--r--tests/khr_gles.py1
-rw-r--r--tests/khr_noctx.py1
-rw-r--r--tests/oglconform.py1
-rw-r--r--tests/py_modules/constants.py1
-rw-r--r--tests/shader.py1
-rw-r--r--tests/util/gen_dispatch.py1
-rw-r--r--tests/xts-render.py1
-rw-r--r--tests/xts.py1
-rw-r--r--unittests/framework/backends/test_compression.py1
-rw-r--r--unittests/framework/backends/test_json.py1
-rw-r--r--unittests/framework/backends/test_json_update.py1
-rw-r--r--unittests/framework/backends/test_junit.py1
-rw-r--r--unittests/framework/backends/test_package.py1
-rw-r--r--unittests/framework/summary/test_common.py1
-rw-r--r--unittests/framework/summary/test_console.py1
-rw-r--r--unittests/framework/summary/test_html.py1
-rw-r--r--unittests/framework/test/test_base.py1
-rw-r--r--unittests/framework/test/test_deqp.py1
-rw-r--r--unittests/framework/test/test_glsl_parser_test.py1
-rw-r--r--unittests/framework/test/test_gtest.py1
-rw-r--r--unittests/framework/test/test_opencv.py1
-rw-r--r--unittests/framework/test/test_opengl.py1
-rw-r--r--unittests/framework/test/test_piglit_test.py1
-rw-r--r--unittests/framework/test/test_shader_test.py1
-rw-r--r--unittests/framework/test_core.py1
-rw-r--r--unittests/framework/test_dmesg.py1
-rw-r--r--unittests/framework/test_driver_classifier.py1
-rw-r--r--unittests/framework/test_exceptions.py1
-rw-r--r--unittests/framework/test_log.py1
-rw-r--r--unittests/framework/test_monitoring.py1
-rw-r--r--unittests/framework/test_options.py1
-rw-r--r--unittests/framework/test_profile.py1
-rw-r--r--unittests/framework/test_wflinfo.py1
-rw-r--r--unittests/generators/test_generators.py1
-rw-r--r--unittests/suites/test_integration.py1
-rw-r--r--unittests/suites/test_native.py1
-rw-r--r--unittests/suites/test_oglconform.py1
121 files changed, 121 insertions, 0 deletions
diff --git a/framework/__init__.py b/framework/__init__.py
index 3cf6d82d6..6995dbbfe 100644
--- a/framework/__init__.py
+++ b/framework/__init__.py
@@ -1,3 +1,4 @@
+# coding=utf-8
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
diff --git a/framework/backends/__init__.py b/framework/backends/__init__.py
index 488ad5515..afcb4c2bb 100644
--- a/framework/backends/__init__.py
+++ b/framework/backends/__init__.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/backends/abstract.py b/framework/backends/abstract.py
index 85abfa52d..447dba17d 100644
--- a/framework/backends/abstract.py
+++ b/framework/backends/abstract.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/backends/compression.py b/framework/backends/compression.py
index 96565ecf1..819b3ef9a 100644
--- a/framework/backends/compression.py
+++ b/framework/backends/compression.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/backends/json.py b/framework/backends/json.py
index 46ea6f7bc..556621e5f 100644
--- a/framework/backends/json.py
+++ b/framework/backends/json.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014, 2016-2017 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/backends/junit.py b/framework/backends/junit.py
index f1e14ef22..349e06db7 100644
--- a/framework/backends/junit.py
+++ b/framework/backends/junit.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/backends/register.py b/framework/backends/register.py
index 8d30d3e7b..2e874fed2 100644
--- a/framework/backends/register.py
+++ b/framework/backends/register.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/compat.py b/framework/compat.py
index 114ca3642..85030b8e6 100644
--- a/framework/compat.py
+++ b/framework/compat.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/core.py b/framework/core.py
index 61643af95..bd81c9558 100644
--- a/framework/core.py
+++ b/framework/core.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/dmesg.py b/framework/dmesg.py
index f327e92a9..a70983570 100644
--- a/framework/dmesg.py
+++ b/framework/dmesg.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2013-2016 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a
diff --git a/framework/driver_classifier.py b/framework/driver_classifier.py
index dcef6cdbc..c36b35396 100644
--- a/framework/driver_classifier.py
+++ b/framework/driver_classifier.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2016 Broadcom
#
# Permission is hereby granted, free of charge, to any person obtaining a
diff --git a/framework/exceptions.py b/framework/exceptions.py
index 6ca3ed773..5ea47c6a1 100644
--- a/framework/exceptions.py
+++ b/framework/exceptions.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/grouptools.py b/framework/grouptools.py
index ce2e97c79..11b0af95a 100644
--- a/framework/grouptools.py
+++ b/framework/grouptools.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/log.py b/framework/log.py
index 613460b7d..69e89bf7d 100644
--- a/framework/log.py
+++ b/framework/log.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2013-2016 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a
diff --git a/framework/monitoring.py b/framework/monitoring.py
index 1060cc531..1eb213c3c 100644
--- a/framework/monitoring.py
+++ b/framework/monitoring.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2016 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a
diff --git a/framework/options.py b/framework/options.py
index 0500640b2..0abe1f63d 100644
--- a/framework/options.py
+++ b/framework/options.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/profile.py b/framework/profile.py
index 8d6fd0706..44c3fbd9f 100644
--- a/framework/profile.py
+++ b/framework/profile.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
diff --git a/framework/programs/parsers.py b/framework/programs/parsers.py
index 9e1d1e3bd..242d9c4a9 100644
--- a/framework/programs/parsers.py
+++ b/framework/programs/parsers.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/programs/print_commands.py b/framework/programs/print_commands.py
index 511ccdb51..8a2e2669a 100644
--- a/framework/programs/print_commands.py
+++ b/framework/programs/print_commands.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/programs/run.py b/framework/programs/run.py
index 23cb5e188..df6ebe7aa 100644
--- a/framework/programs/run.py
+++ b/framework/programs/run.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
diff --git a/framework/programs/summary.py b/framework/programs/summary.py
index 1467f9af7..81a2eb72c 100644
--- a/framework/programs/summary.py
+++ b/framework/programs/summary.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
diff --git a/framework/results.py b/framework/results.py
index 31cb8dff3..214971735 100644
--- a/framework/results.py
+++ b/framework/results.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
diff --git a/framework/status.py b/framework/status.py
index c69c50ae0..14f058804 100644
--- a/framework/status.py
+++ b/framework/status.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2013, 2015 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a
diff --git a/framework/summary/__init__.py b/framework/summary/__init__.py
index e24b26890..10ae4534b 100644
--- a/framework/summary/__init__.py
+++ b/framework/summary/__init__.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/summary/common.py b/framework/summary/common.py
index 5af692703..f62dcedf0 100644
--- a/framework/summary/common.py
+++ b/framework/summary/common.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2013-2016 Intel Corporation
# Copyright 2013, 2014 Advanced Micro Devices
# Copyright 2014 VMWare
diff --git a/framework/summary/console_.py b/framework/summary/console_.py
index a51a54efc..f789bdef6 100644
--- a/framework/summary/console_.py
+++ b/framework/summary/console_.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2013-2016 Intel Corporation
# Copyright 2013, 2014 Advanced Micro Devices
# Copyright 2014 VMWare
diff --git a/framework/summary/feature.py b/framework/summary/feature.py
index 257198ad7..873ff10fc 100644
--- a/framework/summary/feature.py
+++ b/framework/summary/feature.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2016-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person
diff --git a/framework/summary/html_.py b/framework/summary/html_.py
index f0cc6b639..c9efe2081 100644
--- a/framework/summary/html_.py
+++ b/framework/summary/html_.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2013-2016 Intel Corporation
# Copyright 2013, 2014 Advanced Micro Devices
# Copyright 2014 VMWare
diff --git a/framework/test/__init__.py b/framework/test/__init__.py
index d305929d5..daf3b6d41 100644
--- a/framework/test/__init__.py
+++ b/framework/test/__init__.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014,2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/test/base.py b/framework/test/base.py
index f187c0210..6e719cc78 100644
--- a/framework/test/base.py
+++ b/framework/test/base.py
@@ -1,3 +1,4 @@
+# coding=utf-8
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
diff --git a/framework/test/deqp.py b/framework/test/deqp.py
index 042a522b2..5db2a922f 100644
--- a/framework/test/deqp.py
+++ b/framework/test/deqp.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2014-2016,2018 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/test/glsl_parser_test.py b/framework/test/glsl_parser_test.py
index 1cce65036..ef89fe062 100644
--- a/framework/test/glsl_parser_test.py
+++ b/framework/test/glsl_parser_test.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
diff --git a/framework/test/gtest.py b/framework/test/gtest.py
index b331a2fb3..dbb461368 100644
--- a/framework/test/gtest.py
+++ b/framework/test/gtest.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2016 Intel Corporation
# Copyright 2013, 2014 Advanced Micro Devices, Inc.
#
diff --git a/framework/test/oclconform.py b/framework/test/oclconform.py
index 0a644995d..65b10b2b8 100644
--- a/framework/test/oclconform.py
+++ b/framework/test/oclconform.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2016 Intel Corporation
# Copyright 2014 Advanced Micro Devices, Inc.
#
diff --git a/framework/test/opencv.py b/framework/test/opencv.py
index a31d5626b..3cbdb02f8 100644
--- a/framework/test/opencv.py
+++ b/framework/test/opencv.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2016 Intel Corporation
# Copyright 2014 Advanced Micro Devices, Inc.
#
diff --git a/framework/test/opengl.py b/framework/test/opengl.py
index 3c8460e28..0566fb0a8 100644
--- a/framework/test/opengl.py
+++ b/framework/test/opengl.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/test/piglit_test.py b/framework/test/piglit_test.py
index 83398bf6a..f52b0150a 100644
--- a/framework/test/piglit_test.py
+++ b/framework/test/piglit_test.py
@@ -1,3 +1,4 @@
+# coding=utf-8
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
diff --git a/framework/test/shader_test.py b/framework/test/shader_test.py
index 4487e5d19..3f6f7bb0f 100644
--- a/framework/test/shader_test.py
+++ b/framework/test/shader_test.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (C) 2012, 2014-2016 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person
diff --git a/framework/wflinfo.py b/framework/wflinfo.py
index a568bc344..a6bb9e855 100644
--- a/framework/wflinfo.py
+++ b/framework/wflinfo.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/generated_tests/gen_cl_common_builtins.py b/generated_tests/gen_cl_common_builtins.py
index 19563eb43..72969b312 100644
--- a/generated_tests/gen_cl_common_builtins.py
+++ b/generated_tests/gen_cl_common_builtins.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2013 Advanced Micro Devices, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
diff --git a/generated_tests/gen_cl_int_builtins.py b/generated_tests/gen_cl_int_builtins.py
index 03848f07b..28c441ee6 100644
--- a/generated_tests/gen_cl_int_builtins.py
+++ b/generated_tests/gen_cl_int_builtins.py
@@ -1,3 +1,4 @@
+# coding=utf-8
from __future__ import print_function, division, absolute_import
import os
from genclbuiltins import gen, DATA_SIZES, MAX_VALUES, MAX, MIN, BMIN, BMAX, \
diff --git a/generated_tests/gen_cl_math_builtins.py b/generated_tests/gen_cl_math_builtins.py
index 98950c3ac..566b2dcf3 100644
--- a/generated_tests/gen_cl_math_builtins.py
+++ b/generated_tests/gen_cl_math_builtins.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2013 Advanced Micro Devices, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
diff --git a/generated_tests/gen_cl_relational_builtins.py b/generated_tests/gen_cl_relational_builtins.py
index b9cdbe508..3f0ea49cc 100644
--- a/generated_tests/gen_cl_relational_builtins.py
+++ b/generated_tests/gen_cl_relational_builtins.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2013 Advanced Micro Devices, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
diff --git a/generated_tests/gen_cl_shuffle2_builtins.py b/generated_tests/gen_cl_shuffle2_builtins.py
index 0c729361b..79ded0388 100644
--- a/generated_tests/gen_cl_shuffle2_builtins.py
+++ b/generated_tests/gen_cl_shuffle2_builtins.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
diff --git a/generated_tests/gen_cl_shuffle_builtins.py b/generated_tests/gen_cl_shuffle_builtins.py
index 795c2d608..4df8b3d55 100644
--- a/generated_tests/gen_cl_shuffle_builtins.py
+++ b/generated_tests/gen_cl_shuffle_builtins.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
diff --git a/generated_tests/gen_cl_store_tests.py b/generated_tests/gen_cl_store_tests.py
index 52a722ed3..fd515c3ac 100644
--- a/generated_tests/gen_cl_store_tests.py
+++ b/generated_tests/gen_cl_store_tests.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2013 Advanced Micro Devices, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
diff --git a/generated_tests/gen_cl_vload_tests.py b/generated_tests/gen_cl_vload_tests.py
index 46410904d..d134a3711 100644
--- a/generated_tests/gen_cl_vload_tests.py
+++ b/generated_tests/gen_cl_vload_tests.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2016 Advanced Micro Devices, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
diff --git a/generated_tests/gen_cl_vstore_tests.py b/generated_tests/gen_cl_vstore_tests.py
index 724f7a2b2..4e39c6a90 100644
--- a/generated_tests/gen_cl_vstore_tests.py
+++ b/generated_tests/gen_cl_vstore_tests.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2016 Advanced Micro Devices, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
diff --git a/generated_tests/gen_const_builtin_equal_tests.py b/generated_tests/gen_const_builtin_equal_tests.py
index edfff8bd8..6fbd5be21 100644
--- a/generated_tests/gen_const_builtin_equal_tests.py
+++ b/generated_tests/gen_const_builtin_equal_tests.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2010, 2014 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/generated_tests/gen_outerproduct_invalid_params.py b/generated_tests/gen_outerproduct_invalid_params.py
index 4db09bd1b..c6b4bba84 100644
--- a/generated_tests/gen_outerproduct_invalid_params.py
+++ b/generated_tests/gen_outerproduct_invalid_params.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/generated_tests/gen_outerproduct_tests.py b/generated_tests/gen_outerproduct_tests.py
index 0948144d9..0828e4b7d 100644
--- a/generated_tests/gen_outerproduct_tests.py
+++ b/generated_tests/gen_outerproduct_tests.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/generated_tests/gen_texture_lod_tests.py b/generated_tests/gen_texture_lod_tests.py
index 2bfedf748..eb286b65c 100644
--- a/generated_tests/gen_texture_lod_tests.py
+++ b/generated_tests/gen_texture_lod_tests.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/generated_tests/gen_variable_index_read_tests.py b/generated_tests/gen_variable_index_read_tests.py
index cc6f49bdb..09e9b558b 100644
--- a/generated_tests/gen_variable_index_read_tests.py
+++ b/generated_tests/gen_variable_index_read_tests.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/generated_tests/gen_variable_index_write_tests.py b/generated_tests/gen_variable_index_write_tests.py
index acf892307..15cb7bccf 100644
--- a/generated_tests/gen_variable_index_write_tests.py
+++ b/generated_tests/gen_variable_index_write_tests.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/generated_tests/genclbuiltins.py b/generated_tests/genclbuiltins.py
index 25f2f7a9a..c5ebaeb0a 100644
--- a/generated_tests/genclbuiltins.py
+++ b/generated_tests/genclbuiltins.py
@@ -1,3 +1,4 @@
+# coding=utf-8
from __future__ import print_function, division, absolute_import
import os
diff --git a/generated_tests/modules/__init__.py b/generated_tests/modules/__init__.py
index 11e926b37..293fafd17 100644
--- a/generated_tests/modules/__init__.py
+++ b/generated_tests/modules/__init__.py
@@ -1,3 +1,4 @@
+# coding=utf-8
import importlib
import os
import sys
diff --git a/generated_tests/modules/utils.py b/generated_tests/modules/utils.py
index 5495ad800..fc4f77901 100644
--- a/generated_tests/modules/utils.py
+++ b/generated_tests/modules/utils.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/generated_tests/random_ubo-arb_uniform_buffer_object.py b/generated_tests/random_ubo-arb_uniform_buffer_object.py
index d9cdb5d5a..c9bbdc451 100644
--- a/generated_tests/random_ubo-arb_uniform_buffer_object.py
+++ b/generated_tests/random_ubo-arb_uniform_buffer_object.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python2
+# coding=utf-8
# Copyright (c) 2014 Intel Corporation
#
diff --git a/generated_tests/random_ubo.py b/generated_tests/random_ubo.py
index 31d0f8523..042b8b7a7 100644
--- a/generated_tests/random_ubo.py
+++ b/generated_tests/random_ubo.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python2
+# coding=utf-8
# Copyright (c) 2014 Intel Corporation
#
diff --git a/generated_tests/random_ubo_trim.py b/generated_tests/random_ubo_trim.py
index 438d9c711..5ae21bf06 100644
--- a/generated_tests/random_ubo_trim.py
+++ b/generated_tests/random_ubo_trim.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python2
+# coding=utf-8
# Copyright (c) 2014 Intel Corporation
#
diff --git a/generated_tests/templates/__init__.py b/generated_tests/templates/__init__.py
index c7f32c225..240004bfd 100644
--- a/generated_tests/templates/__init__.py
+++ b/generated_tests/templates/__init__.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/piglit-print-commands.py b/piglit-print-commands.py
index aeabe928d..8dcb13289 100755
--- a/piglit-print-commands.py
+++ b/piglit-print-commands.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
diff --git a/piglit-resume.py b/piglit-resume.py
index 93eaa60f9..94e8deae4 100755
--- a/piglit-resume.py
+++ b/piglit-resume.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
diff --git a/piglit-run.py b/piglit-run.py
index 8b5c51efb..f37420ab5 100755
--- a/piglit-run.py
+++ b/piglit-run.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
diff --git a/piglit-summary-html.py b/piglit-summary-html.py
index 81a7d24ee..302b0b3af 100755
--- a/piglit-summary-html.py
+++ b/piglit-summary-html.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
diff --git a/piglit-summary.py b/piglit-summary.py
index 08739ba4d..3214d8e2f 100755
--- a/piglit-summary.py
+++ b/piglit-summary.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
diff --git a/registry/gl.py b/registry/gl.py
index 0e7baab57..0ebddf13b 100644
--- a/registry/gl.py
+++ b/registry/gl.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2014 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a
diff --git a/tests/apitrace/test-trace.py b/tests/apitrace/test-trace.py
index 123024326..cdcdfc841 100755
--- a/tests/apitrace/test-trace.py
+++ b/tests/apitrace/test-trace.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# coding=utf-8
# Copyright (c) 2016 Broadcom
#
diff --git a/tests/crucible.py b/tests/crucible.py
index 635033a74..99d6f8408 100644
--- a/tests/crucible.py
+++ b/tests/crucible.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2014-2016 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/tests/cts_gl.py b/tests/cts_gl.py
index d650ffd4b..935df7a7c 100644
--- a/tests/cts_gl.py
+++ b/tests/cts_gl.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/tests/cts_gl45.py b/tests/cts_gl45.py
index 2782e18f4..d033c3efc 100644
--- a/tests/cts_gl45.py
+++ b/tests/cts_gl45.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/tests/cts_gles.py b/tests/cts_gles.py
index 64de79d7f..4ee28a89e 100644
--- a/tests/cts_gles.py
+++ b/tests/cts_gles.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/tests/deqp_gles2.py b/tests/deqp_gles2.py
index 518a4e04c..8f9bee706 100644
--- a/tests/deqp_gles2.py
+++ b/tests/deqp_gles2.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2015 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/tests/deqp_gles3.py b/tests/deqp_gles3.py
index 6441a9600..0fed6b3fa 100644
--- a/tests/deqp_gles3.py
+++ b/tests/deqp_gles3.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2014, 2015 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/tests/deqp_gles31.py b/tests/deqp_gles31.py
index 7021e8966..e9ca0f346 100644
--- a/tests/deqp_gles31.py
+++ b/tests/deqp_gles31.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2015 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/tests/deqp_vk.py b/tests/deqp_vk.py
index 1f3d58d38..8c1a2bd59 100644
--- a/tests/deqp_vk.py
+++ b/tests/deqp_vk.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2014-2016 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/tests/es3conform.py b/tests/es3conform.py
index 6bdcf2ba9..660db7cd9 100644
--- a/tests/es3conform.py
+++ b/tests/es3conform.py
@@ -1,3 +1,4 @@
+# coding=utf-8
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
diff --git a/tests/glslparser.py b/tests/glslparser.py
index fe2b3c5ea..8f2a13663 100644
--- a/tests/glslparser.py
+++ b/tests/glslparser.py
@@ -1,3 +1,4 @@
+# coding=utf-8
"""A profile that runs only GLSLParserTest instances."""
from __future__ import (
diff --git a/tests/glslparsertest/glsl2/gen_builtin_test.py b/tests/glslparsertest/glsl2/gen_builtin_test.py
index 2f4b90133..9b152ae07 100755
--- a/tests/glslparsertest/glsl2/gen_builtin_test.py
+++ b/tests/glslparsertest/glsl2/gen_builtin_test.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# coding=utf-8
one_parameter_110 = [
"radians",
diff --git a/tests/gtf_gl.py b/tests/gtf_gl.py
index d219bd73f..a82f091d5 100644
--- a/tests/gtf_gl.py
+++ b/tests/gtf_gl.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2018 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/tests/gtf_gles.py b/tests/gtf_gles.py
index 0e0495d08..ca91f14b6 100644
--- a/tests/gtf_gles.py
+++ b/tests/gtf_gles.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2018 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/tests/igt.py b/tests/igt.py
index 5842810de..c3ec2e647 100644
--- a/tests/igt.py
+++ b/tests/igt.py
@@ -1,3 +1,4 @@
+# coding=utf-8
#
# Copyright (c) 2012 Intel Corporation
#
diff --git a/tests/khr_gl.py b/tests/khr_gl.py
index 30e28b045..235ca7c8c 100644
--- a/tests/khr_gl.py
+++ b/tests/khr_gl.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2017 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/tests/khr_gl45.py b/tests/khr_gl45.py
index 39341f390..cdb46833c 100644
--- a/tests/khr_gl45.py
+++ b/tests/khr_gl45.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2017 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/tests/khr_gles.py b/tests/khr_gles.py
index 59a0fe089..13cae08a2 100644
--- a/tests/khr_gles.py
+++ b/tests/khr_gles.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2017 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/tests/khr_noctx.py b/tests/khr_noctx.py
index 4cba8130d..04f0d3073 100644
--- a/tests/khr_noctx.py
+++ b/tests/khr_noctx.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2017 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/tests/oglconform.py b/tests/oglconform.py
index 5104f442b..2d81b6b2b 100644
--- a/tests/oglconform.py
+++ b/tests/oglconform.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# coding=utf-8
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
diff --git a/tests/py_modules/constants.py b/tests/py_modules/constants.py
index c9a7a41a0..40828ff1f 100644
--- a/tests/py_modules/constants.py
+++ b/tests/py_modules/constants.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/tests/shader.py b/tests/shader.py
index 3a43bcf93..14f21eef9 100644
--- a/tests/shader.py
+++ b/tests/shader.py
@@ -1,3 +1,4 @@
+# coding=utf-8
"""A profile that runs only ShaderTest instances."""
from __future__ import (
diff --git a/tests/util/gen_dispatch.py b/tests/util/gen_dispatch.py
index fbedca40d..44b04fd38 100644
--- a/tests/util/gen_dispatch.py
+++ b/tests/util/gen_dispatch.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2014 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a
diff --git a/tests/xts-render.py b/tests/xts-render.py
index d2cd843f2..025412327 100644
--- a/tests/xts-render.py
+++ b/tests/xts-render.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015 Broadcom
#
# Permission is hereby granted, free of charge, to any person obtaining a
diff --git a/tests/xts.py b/tests/xts.py
index 715ecfa47..8e9a685dc 100644
--- a/tests/xts.py
+++ b/tests/xts.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2013-2014 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person
diff --git a/unittests/framework/backends/test_compression.py b/unittests/framework/backends/test_compression.py
index f7b400c51..6d463ada4 100644
--- a/unittests/framework/backends/test_compression.py
+++ b/unittests/framework/backends/test_compression.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/backends/test_json.py b/unittests/framework/backends/test_json.py
index ccf445747..2ee1e47ce 100644
--- a/unittests/framework/backends/test_json.py
+++ b/unittests/framework/backends/test_json.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/backends/test_json_update.py b/unittests/framework/backends/test_json_update.py
index dca6f9d77..c832886aa 100644
--- a/unittests/framework/backends/test_json_update.py
+++ b/unittests/framework/backends/test_json_update.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/backends/test_junit.py b/unittests/framework/backends/test_junit.py
index 06892ca73..260b24099 100644
--- a/unittests/framework/backends/test_junit.py
+++ b/unittests/framework/backends/test_junit.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/backends/test_package.py b/unittests/framework/backends/test_package.py
index d668899c1..08df6f0f4 100644
--- a/unittests/framework/backends/test_package.py
+++ b/unittests/framework/backends/test_package.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/summary/test_common.py b/unittests/framework/summary/test_common.py
index e1f680187..fd2a0f34d 100644
--- a/unittests/framework/summary/test_common.py
+++ b/unittests/framework/summary/test_common.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/summary/test_console.py b/unittests/framework/summary/test_console.py
index 6e6ae8a7d..ccc91e137 100644
--- a/unittests/framework/summary/test_console.py
+++ b/unittests/framework/summary/test_console.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/summary/test_html.py b/unittests/framework/summary/test_html.py
index f645b411a..a9d192bfe 100644
--- a/unittests/framework/summary/test_html.py
+++ b/unittests/framework/summary/test_html.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/test/test_base.py b/unittests/framework/test/test_base.py
index ad355b1d8..f8d0aa051 100644
--- a/unittests/framework/test/test_base.py
+++ b/unittests/framework/test/test_base.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/test/test_deqp.py b/unittests/framework/test/test_deqp.py
index 1c24ab365..b7c1db4eb 100644
--- a/unittests/framework/test/test_deqp.py
+++ b/unittests/framework/test/test_deqp.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/test/test_glsl_parser_test.py b/unittests/framework/test/test_glsl_parser_test.py
index a81a1fdb7..1d4476932 100644
--- a/unittests/framework/test/test_glsl_parser_test.py
+++ b/unittests/framework/test/test_glsl_parser_test.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/test/test_gtest.py b/unittests/framework/test/test_gtest.py
index 4ea2163dd..900402123 100644
--- a/unittests/framework/test/test_gtest.py
+++ b/unittests/framework/test/test_gtest.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/test/test_opencv.py b/unittests/framework/test/test_opencv.py
index c804c0bae..83d017d83 100644
--- a/unittests/framework/test/test_opencv.py
+++ b/unittests/framework/test/test_opencv.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/test/test_opengl.py b/unittests/framework/test/test_opengl.py
index c17c4c099..e051787c5 100644
--- a/unittests/framework/test/test_opengl.py
+++ b/unittests/framework/test/test_opengl.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/test/test_piglit_test.py b/unittests/framework/test/test_piglit_test.py
index 9c769a6e4..fa906ca2d 100644
--- a/unittests/framework/test/test_piglit_test.py
+++ b/unittests/framework/test/test_piglit_test.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/test/test_shader_test.py b/unittests/framework/test/test_shader_test.py
index 623088734..e9a12a40e 100644
--- a/unittests/framework/test/test_shader_test.py
+++ b/unittests/framework/test/test_shader_test.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/test_core.py b/unittests/framework/test_core.py
index 823e0d43a..2873582f5 100644
--- a/unittests/framework/test_core.py
+++ b/unittests/framework/test_core.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/test_dmesg.py b/unittests/framework/test_dmesg.py
index 6305315a8..0ebb3ca20 100644
--- a/unittests/framework/test_dmesg.py
+++ b/unittests/framework/test_dmesg.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/test_driver_classifier.py b/unittests/framework/test_driver_classifier.py
index 4c208421f..801a7ae49 100644
--- a/unittests/framework/test_driver_classifier.py
+++ b/unittests/framework/test_driver_classifier.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2016 Broadcom
#
# Permission is hereby granted, free of charge, to any person obtaining a
diff --git a/unittests/framework/test_exceptions.py b/unittests/framework/test_exceptions.py
index 08f87c993..a66294b69 100644
--- a/unittests/framework/test_exceptions.py
+++ b/unittests/framework/test_exceptions.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/test_log.py b/unittests/framework/test_log.py
index e5b9fc9ee..2f4b435c8 100644
--- a/unittests/framework/test_log.py
+++ b/unittests/framework/test_log.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/test_monitoring.py b/unittests/framework/test_monitoring.py
index 8627d9f7a..dc820f2b6 100644
--- a/unittests/framework/test_monitoring.py
+++ b/unittests/framework/test_monitoring.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/test_options.py b/unittests/framework/test_options.py
index bf296c10c..4d070ab88 100644
--- a/unittests/framework/test_options.py
+++ b/unittests/framework/test_options.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/test_profile.py b/unittests/framework/test_profile.py
index 714f7e05a..8f61b31c9 100644
--- a/unittests/framework/test_profile.py
+++ b/unittests/framework/test_profile.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/framework/test_wflinfo.py b/unittests/framework/test_wflinfo.py
index bd2d936cc..73450670d 100644
--- a/unittests/framework/test_wflinfo.py
+++ b/unittests/framework/test_wflinfo.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/generators/test_generators.py b/unittests/generators/test_generators.py
index ccb57e725..e2a7c7fd4 100644
--- a/unittests/generators/test_generators.py
+++ b/unittests/generators/test_generators.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/suites/test_integration.py b/unittests/suites/test_integration.py
index ce8876196..f7a479127 100644
--- a/unittests/suites/test_integration.py
+++ b/unittests/suites/test_integration.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/suites/test_native.py b/unittests/suites/test_native.py
index 6055bf664..351759831 100644
--- a/unittests/suites/test_native.py
+++ b/unittests/suites/test_native.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/unittests/suites/test_oglconform.py b/unittests/suites/test_oglconform.py
index 6e6b690d5..2cce1796c 100644
--- a/unittests/suites/test_oglconform.py
+++ b/unittests/suites/test_oglconform.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy