unicode and SVG

John Hunter wrote:

Anyone know of a simple fix for this

python unicode_demo.py -dSVG

  File
  "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_svg.py",
  line 196, in draw_text
    self._svgwriter.write (svg)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in
position 136: ordinal not in range(128)

  I found this link very useful to understand this type of problems:
http://evanjones.ca/python-utf8.html

···

--
José Abílio