We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dd737a commit 8436c84Copy full SHA for 8436c84
beta_code/beta_code.py
@@ -5,10 +5,10 @@
5
import re
6
import unicodedata
7
8
-with open(os.path.join(os.path.dirname(__file__), 'vendor/beta-code-json/beta_code_to_unicode.json')) as json_file:
+with open(os.path.join(os.path.dirname(__file__), 'vendor/beta-code-json/beta_code_to_unicode.json'), encoding='utf-8') as json_file:
9
BETA_CODE_TO_UNICODE_MAP = json.load(json_file)
10
11
-with open(os.path.join(os.path.dirname(__file__), 'vendor/beta-code-json/unicode_to_beta_code.json')) as json_file:
+with open(os.path.join(os.path.dirname(__file__), 'vendor/beta-code-json/unicode_to_beta_code.json'), encoding='utf-8') as json_file:
12
UNICODE_TO_BETA_CODE_MAP = json.load(json_file)
13
14
def greek_to_beta_code(greek, custom_map=None):
0 commit comments