We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34f0e70 commit 2f4e69aCopy full SHA for 2f4e69a
1 file changed
bpython/inspection.py
@@ -326,7 +326,7 @@ def get_encoding(obj):
326
m = get_encoding_line_re.search(line)
327
if m:
328
return m.group(1)
329
- return "ascii"
+ return "utf8"
330
331
332
def get_encoding_file(fname):
@@ -337,7 +337,7 @@ def get_encoding_file(fname):
337
match = get_encoding_line_re.search(line)
338
if match:
339
return match.group(1)
340
341
342
343
def getattr_safe(obj, name):
0 commit comments