Ticket #339 (closed defect: fixed)
YAML error with UTF-16 string
| Reported by: | dev@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | critical | Milestone: | MacRuby 0.5 |
| Component: | MacRuby | Keywords: | YAML encoding |
| Cc: |
Description
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?
Change History
Note: See
TracTickets for help on using
tickets.

