|
@ -110,7 +110,7 @@ if options.encoding is None: |
|
|
try: |
|
|
try: |
|
|
locale = os.environ['LANG'] |
|
|
locale = os.environ['LANG'] |
|
|
_, options.encoding = locale.split('.') |
|
|
_, options.encoding = locale.split('.') |
|
|
except KeyError, ValueError: |
|
|
|
|
|
|
|
|
except (KeyError, ValueError): |
|
|
options.encoding = "UTF-8" |
|
|
options.encoding = "UTF-8" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|