mikedewar / d3py

a plottling library for python, based on D3
1.42k stars 201 forks source link

cStringIO vs Unicode #63

Open kern3020 opened 11 years ago

kern3020 commented 11 years ago

The Figure class uses cStringIO.StringIO(). This limits the html and js output to ASCII. Using StringIO.StringIO() would allow use of Unicode. Should Figure be converted to allow for unicode.

-jk

For easy of reference, here (http://docs.python.org/2/library/stringio.html) is the link to python docs.

kern3020 commented 11 years ago

With pull request for #57, I took the liberty of switching to StringIO.StringIO.