Changeset 175 for pykoticon/trunk/bin

Show
Ignore:
Timestamp:
12/13/06 20:36:48 (18 years ago)
Author:
jerome
Message:

Added Georger Araujo's character encoding patch.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykoticon/trunk/bin/pykoticon

    r174 r175  
    450450    (language, charset) = locale.getlocale() 
    451451    language = language or "C" 
    452     charset = charset or locale.getpreferredencoding() 
     452    charset = ((sys.platform != "win32") and charset) or locale.getpreferredencoding() 
    453453     
    454454    # translation stuff