diff options
| -rw-r--r-- | lib/threads/palette.py | 2 | ||||
| -rw-r--r-- | print/templates/index.html | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/threads/palette.py b/lib/threads/palette.py index 29d2a6dd..7a6bf153 100644 --- a/lib/threads/palette.py +++ b/lib/threads/palette.py @@ -38,7 +38,7 @@ class ThreadPalette(Set): """ - with open(palette_file) as palette: + with open(palette_file, encoding='utf8') as palette: line = palette.readline().strip() if line.lower() != "gimp palette": raise ValueError("Invalid gimp palette header") diff --git a/print/templates/index.html b/print/templates/index.html index d4244493..612506c9 100644 --- a/print/templates/index.html +++ b/print/templates/index.html @@ -11,6 +11,7 @@ <link rel="stylesheet" href="resources/{{ l }}.css" /> {% endfor %} <link rel="shortcut icon" type="image/png" href="/favicon.png"/> + <meta charset="UTF-8"> </head> <body> {% include 'ui.html' %} |
