##// 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:

r2267:928c921b
r4783:6392cebc
Show More
ipy_profile_none.py
3 lines | 132 B | text/x-python | PythonLexer
""" Config file for 'default' profile """
# get various stuff that are there for historical / familiarity reasons
import ipy_legacy