-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
umlauts in dataframe cannot be displayed in ipython notebook #2458
Comments
pandas version: '0.10.0.dev-07318fa' |
Cannot reproduce on notebook or qtconsole with ipython git master (0.14-dev). |
I also updated to ipython git master from today, but can still reproduce it in both ipythonqt and the notebook and with different browsers. Win7 64bit The notebook: https://gist.github.com/4244669 http://nbviewer.ipython.org/4244669/ |
This also looks wrong to me: df2.to_html() results in
A unicode string but the umlauts are nevertheless encoded in iso-8859-15: |
what are the values of |
also, |
import sys
sys.stdout.encoding, sys.stdin.encoding, pandas.get_option("print.encoding"), sys.getdefaultencoding()
('UTF-8', None, 'cp1252', 'ascii') |
I think I see what's happening. |
Yay, that fixed it! Thanks! |
you're welcome. closed via 7cc9779 |
I have the same problem now with 0.14.0 and 0.14.1, running latest IPython from git. sys.stdin.encoding: UTF-8 (in the terminal, in the notebook I am getting None) (Did not notice this problem before, but I am also unsure how often I had umlauts in my data.) |
When I put this into a ipython notebook cell, an exception is thrown.
This also happens when I have umlauts in csv files and specify an encoding:
The text was updated successfully, but these errors were encountered: