Charles Oliver Nutter created JRUBY-6317: --------------------------------------------
Summary: YAML can't parse some valid unicode characters Key: JRUBY-6317 URL: https://jira.codehaus.org/browse/JRUBY-6317 Project: JRuby Issue Type: Bug Components: Ruby 1.9.2, Ruby 1.9.3 Affects Versions: JRuby 1.6.5 Reporter: Charles Oliver Nutter Assignee: Thomas E Enebo As shown in the comments for JRUBY-6200, JRuby's "Psych" wrapper around SnakeYAML can't handle some unicode characters. This may be a SnakeYAML bug, or something in YAML spec we don't know about: {noformat} system ~/projects/jruby $ jruby --1.9 -ryaml -e 'YAML.load("\ufffd".to_yaml)' StreamReader.java:98:in `checkPrintable': unacceptable character '�' (0xFFFD) special characters are not allowed in "<reader>", position 4 from StreamReader.java:191:in `update' from StreamReader.java:63:in `<init>' from PsychParser.java:115:in `parse' from PsychParser$INVOKER$i$1$0$parse.gen:65535:in `call' {noformat} I'm filing this because the original cases in JRUBY-6200 are resolved, and this seems to be a separate issue that won't affect most people. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email