hplgit / doconce

Lightweight markup language - document once, include anywhere
http://hplgit.github.io/doconce/doc/web/index.html
Other
311 stars 60 forks source link

Removed conversion from Unicode to ASCII which caused UnicodeEncodeEr… #76

Closed KGHustad closed 8 years ago

KGHustad commented 8 years ago

I had an issue where DocOnce would crash when 'ø' appeared in a Unicode string sent to errwarn. This Unicode string can't be converted to ASCII since 'ø' (u'\xf8') is not contained in the ASCII table causing a UnicodeEncodeError. Simply removing this conversion seems to work fine.