#339: YAML error with UTF-16 string ------------------------+--------------------------------------------------- Reporter: d...@… | Owner: lsansone...@… Type: defect | Status: new Priority: critical | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: YAML encoding ------------------------+--------------------------------------------------- {{{ macruby -e 'require "yaml"; puts "Rübe".to_yaml' }}}
produces {{{ --- ! "R\xFCb" }}} with the last character missing! BTW, I googled that "YAML streams must be UTF-8 or UTF-16", so why is a escape sequence visible in the above puts statement? -- Ticket URL: <http://www.macruby.org/trac/ticket/339> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel