summaryrefslogtreecommitdiffstats
path: root/Lib/site.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/site.py')
-rw-r--r--Lib/site.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/site.py b/Lib/site.py
index 70284e1..17f253a 100644
--- a/Lib/site.py
+++ b/Lib/site.py
@@ -126,7 +126,7 @@ del exit
#
def locale_aware_defaultencoding():
import locale
- code, encoding = locale.get_default()
+ code, encoding = locale.getdefaultlocale()
if encoding is None:
encoding = 'ascii'
try: