"iso-8859" should be "iso-8859-1" but use "latin-1" because it's clearer

This commit is contained in:
jesopo 2020-04-11 14:01:49 +01:00
parent b9065a2631
commit 5a15869653
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ from typing import List, Optional
from .protocol import Line, tokenise
class StatefulDecoder(object):
def __init__(self, encoding: str="utf8", fallback: str="iso-8859"):
def __init__(self, encoding: str="utf8", fallback: str="latin-1"):
self._encoding = encoding
self._fallback = fallback
self.clear()