Show
Ignore:
Timestamp:
11/12/06 17:16:49 (17 years ago)
Author:
jerome
Message:

Simplified i18n and l10n stuff by removing code used with Python<2.3 => not supported anymore.
Fixed it for working in CGI scripts as expected (better with Python 2.4 and higher).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/dumper.py

    r3050 r3055  
    283283                              and (typval == "str") : 
    284284                        try : 
    285                             strvalue = unicode(strvalue, self.getCharset()).encode("UTF-8") 
     285                            strvalue = unicode(strvalue, self.charset).encode("UTF-8") 
    286286                        except UnicodeError :     
    287287                            pass