##// END OF EJS Templates
add text.getdefaultencoding() for central default encoding guess...
add text.getdefaultencoding() for central default encoding guess This is a central location for the many places we call sys.stdin.encoding or sys.getdefaultencoding(), which now adds locale.getpreferredencoding(False) after stdin.encoding, which should be a better guess when stdin.encoding is None.

File last commit:

r2732:60cab731
r4783:6392cebc
Show More
__init__.py
2 lines | 78 B | text/x-python | PythonLexer
# -*- coding: utf-8 -*-
"""This directory is meant for IPython extensions."""