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

which we know nothing else.
This commit is contained in:
Barry Warsaw 2002-10-14 15:06:55 +00:00
parent f834ecbba5
commit 7cd724049f
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ CHARSETS = {
'iso-2022-jp': (BASE64, None, None),
'koi8-r': (BASE64, BASE64, None),
'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