CVS: tmda-cgi ChangeLog,1.45,1.46 Unicode.py,1.4,1.5

Gre7g Luterman <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda-cgi
In directory sc8-pr-cvs1:/tmp/cvs-serv11587

Modified Files:
	ChangeLog Unicode.py 
Log Message:
Added support for the iso-2022-jp (Japanese) codec.


Index: ChangeLog
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/ChangeLog,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- ChangeLog	17 Jun 2003 02:19:55 -0000	1.45
+++ ChangeLog	20 Jun 2003 18:52:29 -0000	1.46
@@ -1,3 +1,7 @@
+2003-06-19  Gre7g Luterman  <[email protected]>
+
+	* Added support for the iso-2022-jp (Japanese) codec.
+
 2003-06-16  Gre7g Luterman  <[email protected]>
 
 	* Added readline module to configure program.  We now have tab-

Index: Unicode.py
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/Unicode.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Unicode.py	29 May 2003 17:51:51 -0000	1.4
+++ Unicode.py	20 Jun 2003 18:52:29 -0000	1.5
@@ -91,6 +91,10 @@
         elif CharSet == "big5":
           import chinese.big5
           Lib = chinese.big5
+        # Is it iso-2022-jp?
+        elif CharSet == "iso-2022-jp":
+          import japanese.iso_2022_jp_ext
+          Lib = japanese.iso_2022_jp_ext
         # Don't recognize it.  Was it our fallback?
         elif CharSet == PVars[("General", "CSEncoding")]:
           # It was our fallback!  Give up now!

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.