parse invalid byte sequences in UTF8
added ruby 2.0 support
2.0 support