From 8b62d01f7dbd7972a7a0fc16f2b1b0e0083237a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=A4schke?= Date: Wed, 13 Mar 2024 11:06:36 +0100 Subject: [PATCH] decode using utf-8 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f592e0a..8e70c72 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ example, in Python 3 you could do: import urllib.request url = "https://github.com/fcatools/contexts/raw/main/contexts/livingbeings_en.cxt" -context = urllib.request.urlopen(url).read().decode() +context = urllib.request.urlopen(url).read().decode("utf-8") ``` ## How to contribute contexts