Die Welt der medizinischen Blogs

Ruby ASCII-8BIT => UTF-8

I tried to parse an xml file with ruby and had problems converting ASCII-8BIT (binary in fact) to UTF-8. This was the error message: /Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/catch_exception.rb:15:in `sub': incompatible character encodings: ASCII-8BIT and UTF-8 (Encoding::CompatibilityError) from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/catch_exception.rb:15:in `block in ' /Users/x42/.rvm/rubies/rub

weiterlesen »


Bisher keine Kommentare

Einen Kommentar schreiben

du mußt angemeldet sein, um kommentieren zu können.