|
From: Martynas J. <mj...@us...> - 2006-02-18 09:55:06
|
Update of /cvsroot/opendict/opendict/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8540/lib Modified Files: parser.py Log Message: 1. Bugfix: DICT dictionaries didn't support other that UTF-8 encoding. 2. Search entry was not updated after clicking a link in translation window. 3. README.txt updated. Index: parser.py =================================================================== RCS file: /cvsroot/opendict/opendict/lib/parser.py,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- parser.py 26 Dec 2005 18:04:44 -0000 1.27 +++ parser.py 18 Feb 2006 09:54:57 -0000 1.28 @@ -747,12 +747,6 @@ translation = None for source in translations: - try: - source = source.encode(self.encoding, 'replace') - except: - result.setError(errortype.INVALID_ENCODING) - break - chunks = source.split('\n') map(string.strip, chunks) |