respect encoding of display data from urls #731

merged 1 commit into from Aug 25, 2011


None yet

2 participants

minrk commented Aug 25, 2011

previously, loading a display object from a URL would just be bytes, ignoring page encoding, causing a UnicodeDecodeError when json tried to serialize the data. This respects the encoding if the header specifies one.


@fperez, I am going to merge this. But a better demo is to put the page in an iframe like this:

HTML('<iframe src= width=600 height=400>')
@ellisonbg ellisonbg merged commit 0387301 into ipython:master Aug 25, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment