Skip to content

Commit 8b16ff6

Browse files
author
y-p
committed
Break console_encode again.
1 parent 9c0f46d commit 8b16ff6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ def console_encode(value):
862862

863863
try:
864864
import sys
865-
return value.encode(sys.stdin.encoding or 'utf-8', 'replace')
865+
return value.encode(sys.stdin.encoding, 'replace')
866866
except (AttributeError, TypeError):
867867
return value.encode('ascii', 'replace')
868868

0 commit comments

Comments
 (0)