Changeset 58 for python


Ignore:
Timestamp:
Oct 22, 2010, 3:51:55 PM (15 years ago)
Author:
Yuri Dario
Message:

python: allow selecting default from current locale, fixes unicode decoding errors in gettext conversions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/trunk/Lib/site.py

    r10 r58  
    452452    change this."""
    453453    encoding = "ascii" # Default value set by _PyUnicode_Init()
    454     if 0:
     454    if 1:
    455455        # Enable to support locale aware default string encodings.
    456456        import locale
Note: See TracChangeset for help on using the changeset viewer.