BlueCloth 2 and unicode

186 views Asked by At

The following Haml causes to a Encoding::UndefinedConversionError when the latest BlueCloth (2.0.11) is used for markdown processing under Ruby 1.9.2:

:markdown
  résumé

Apparently, the humble é character is enough to make BlueCloth throw a fit! Is there a fix?

1

There are 1 answers

0
Trevor Burnham On BEST ANSWER

For now, I've worked around this by installing Maruku and using the :maruku filter instead. But this isn't a perfect solution for everyone, so I'd love to see a better answer.