Changeset 1140

Show
Ignore:
Timestamp:
07/27/07 21:53:47 (6 years ago)
Author:
boltrix
Message:

More test on I18N

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/umitCore/I18N.py

    r1138 r1140  
    5656    """ 
    5757    log.debug(">>> Converting '%s' from '%s' to unicode" % (string, ENC)) 
    58     import pdb; pdb.set_trace() 
    59     string = string.decode("utf8", ERRORS) 
    60     string = string.encode("utf8", ERRORS) 
     58    string = string.decode(ENC, ERRORS) 
    6159    log.debug(">>> Converted to: '%s'" % string) 
    6260