Changeset 2214 for pykota/trunk/pykota/tool.py
- Timestamp:
- 04/22/05 23:19:29 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/tool.py
r2210 r2214 97 97 localecharset = locale.getpreferredencoding() 98 98 except AttributeError : 99 localecharset = locale.getlocale()[1]100 99 try : 100 localecharset = locale.getlocale()[1] 101 101 localecharset = localecharset or locale.getdefaultlocale()[1] 102 102 except ValueError :