Mojibake fails with Ruby 2.0p0

Also tests don't pass:

https://gist.github.com/maciejkowalski/95730df2599dd001b236

However it works with Ruby 1.9.3.

--

I fixed this. Please merge code.