-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Milestone
Description
My Env
java -version
java version "1.7.0_09"
OpenJDK Runtime Environment (IcedTea7 2.3.3) (7u9-2.3.3-0ubuntu1~12.04.1)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
ruby -v
jruby 1.7.1 (1.9.3p327) 2012-12-03 30a153b on OpenJDK 64-Bit Server VM 1.7.0_09-b30 [linux-amd64]
With jruby 1.7.2 it does also not work, bit it works with the normal MRI ;-(
How to reproduce the bug
test.yml
de:
test: "Ä"
test.rb
require 'yaml'
YAML.parse(open("test.yml").read)
puts "Done"Error
ruby test.rb
Psych::SyntaxError: (<unknown>): 'reader' unacceptable character '?' (0x84) special characters are not allowed
in "'reader'", position 14 at line 0 column 0
parse at org/jruby/ext/psych/PsychParser.java:225
parse_stream at /home/vagrant/.rvm/rubies/jruby-1.7.2/lib/ruby/1.9/psych.rb:205
parse at /home/vagrant/.rvm/rubies/jruby-1.7.2/lib/ruby/1.9/psych.rb:153
(root) at test.rb:3
Someone knows a workaround?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels