fix encoding issue
diff --git a/buildkite/pipelines/common.py b/buildkite/pipelines/common.py
index 805281e..e04c75a 100644
--- a/buildkite/pipelines/common.py
+++ b/buildkite/pipelines/common.py
@@ -1,3 +1,4 @@
+import codecs
import json
import urllib.request
@@ -16,4 +17,5 @@
with open(".bazelci/config.json", "r") as fd:
return json.load(fd)
with urllib.request.urlopen(http_config) as resp:
- return json.loads(resp.read())
\ No newline at end of file
+ reader = codecs.getreader("utf-8")
+ return json.load(reader(resp))