COMMIT Added string encode specs for invalid and undefined characters http://github.com/rubyspec/rubyspec/commit/286e7ed0112a840ad221a73a14e5c6196cf41e3d