[Python-checkins] python/dist/src/Lib/email Charset.py,1.9,1.10

bwarsaw@users.sourceforge.net bwarsaw@users.sourceforge.net
Mon, 14 Oct 2002 08:07:01 -0700


Update of /cvsroot/python/python/dist/src/Lib/email
In directory usw-pr-cvs1:/tmp/cvs-serv23342/email

Modified Files:
	Charset.py 
Log Message:
CHARSETS: Add faux '8bit' encoding for representing raw 8-bit data for
which we know nothing else.


Index: Charset.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Charset.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** Charset.py	13 Oct 2002 04:00:45 -0000	1.9
--- Charset.py	14 Oct 2002 15:06:55 -0000	1.10
***************
*** 44,47 ****
--- 44,49 ----
      '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'),
      }