mirror of https://github.com/jesopo/irctokens
"iso-8859" should be "iso-8859-1" but use "latin-1" because it's clearer
This commit is contained in:
parent
b9065a2631
commit
5a15869653
|
@ -2,7 +2,7 @@ from typing import List, Optional
|
||||||
from .protocol import Line, tokenise
|
from .protocol import Line, tokenise
|
||||||
|
|
||||||
class StatefulDecoder(object):
|
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._encoding = encoding
|
||||||
self._fallback = fallback
|
self._fallback = fallback
|
||||||
self.clear()
|
self.clear()
|
||||||
|
|
Loading…
Reference in New Issue