russross / blackfriday

Blackfriday: a markdown processor for Go
Other
5.42k stars 598 forks source link

UTF-8 Input #569

Closed mandolyte closed 4 years ago

mandolyte commented 4 years ago

Since the Run() method takes []byte as the input, I can't supply a string of UTF-8 characters. So if the input has Greek or Cyrillic characters, they don't come out correctly.

Is this a limitation or am I overlooking something?

Thanks!

mandolyte commented 4 years ago

It turns out that my test case actually worked. Further work revealed the issue to be a problem with configuring the PDF generator with appropriate Unicode support. Closing!