Version: ipython 0.12
With prompt set to:
c.PromptManager.in_template = u'\r \w \$ ' # \r needed so prompt doesn't hang in the middle in some cases,
# \w prints current dir,
# u"←string modifier" doesn't really help at all
when I try to cd into a directory with unicode character in its name, a UnicodeDecodeError gets thrown.
How to reproduce:
/home/user $ mkdir č
/home/user $ cd č
Expected:/home/user/č
Instead:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 9: ordinal not in range(128)
Remarks:
With no \w in prompt, it works as expected.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4