Kaydet (Commit) 7cd72404 authored tarafından Barry Warsaw's avatar Barry Warsaw

CHARSETS: Add faux '8bit' encoding for representing raw 8-bit data for

which we know nothing else.
üst f834ecbb
...@@ -43,6 +43,8 @@ CHARSETS = { ...@@ -43,6 +43,8 @@ CHARSETS = {
'iso-2022-jp': (BASE64, None, None), 'iso-2022-jp': (BASE64, None, None),
'koi8-r': (BASE64, BASE64, None), 'koi8-r': (BASE64, BASE64, None),
'utf-8': (SHORTEST, BASE64, 'utf-8'), 'utf-8': (SHORTEST, BASE64, 'utf-8'),
# We're making this one up to represent raw unencoded 8-bit
'8bit': (None, BASE64, 'utf-8'),
} }
# Aliases for other commonly-used names for character sets. Map # Aliases for other commonly-used names for character sets. Map
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment