Closed henrebotha closed 8 years ago
Thanks for the report. I will provide a fix based on this article http://tenderlovemaking.com/2009/06/26/string-encoding-in-ruby-1-9-c-extensions.html
Fix is out with release 0.1.4. Please let me know if it's okay.
Try the following:
(I'm using a South African English dictionary from here.)
What seems to be happening is that the string is incorrectly encoded as ASCII, when it is in fact UTF-8. Since the UTF code points are not valid ASCII, it throws an error when attempting to convert them from ASCII (supposedly) to UTF.
If I force the encoding, the string renders correctly: