I use a terminal (9term) that does command-line editing itself - programs that use readline just get in its way. It's fully utf-8 aware. How can I make an interactive python session disable readline while retaining utf-8 input and output?
Currently I use:
LANG=en_GB.UTF-8 export LANG
cat | python -i
however this causes sys.stdin.encoding to be None, which implies Ascii (the system default encoding, which doesn't seem to be changeable)
TERM=dumb python
doesn't disable readline (and it mangles utf-8 input also).
I'm new to python, so apologies if this is an obvious question.