chart = ygal.dot( our stuff )
chart.render(is_unicode=True)
weh
the resulting string contains unicode character '\xa9', the copyright sign, which Windows is unable to handle on Japanese Windows, leading to exception:
UnicodeEncodeError: 'cp932' codec can't encode character '\xa9' ...
Suggest you change it to (C) instead of special character.
in file svg.py line 72 change copyright notice:
line 72 'Generated with pygal %s (%s) Copyright Kozea 2012-2016 on %s' % (
chart = ygal.dot( our stuff ) chart.render(is_unicode=True) weh the resulting string contains unicode character '\xa9', the copyright sign, which Windows is unable to handle on Japanese Windows, leading to exception:
UnicodeEncodeError: 'cp932' codec can't encode character '\xa9' ...
Suggest you change it to (C) instead of special character.
in file svg.py line 72 change copyright notice:
line 72 'Generated with pygal %s (%s) Copyright Kozea 2012-2016 on %s' % (