Closed aq1018 closed 13 years ago
Hi,
I fixed UTF-8 error in ruby 1.9. It is also backwards compatible with 1.8.7, the basic idea is to use #each_char instead of #each_byte in 1.9. I added a switch so it uses different approaches with different versions of ruby
Thanks! I've pulled in your changes to master and released a new version of the gem (0.1.11).
Hi,
I fixed UTF-8 error in ruby 1.9. It is also backwards compatible with 1.8.7, the basic idea is to use #each_char instead of #each_byte in 1.9. I added a switch so it uses different approaches with different versions of ruby