Charts cannot cope with non-ascii

Issue #157 resolved
Charlie Clark
created an issue

charts.ChartWriter._write_serial will choke on any non-ascii values because of the coercion to strings.

SubElement(point, 'c:v').text = str(val)

Could be replaced by if not isinstance(val, basestring): val = str(val) SubElement(point, 'c:v').text = val

But this would not be safe for Python 3.

Comments (1)

  1. Log in to comment