psych does not accept accented characters #128

delsoft opened this Issue Feb 19, 2013 · 2 comments


None yet

2 participants

delsoft commented Feb 19, 2013


very, very simple example

causes this error (remove accents gives no error)

c = Psych.load "test:\n aa: 'ãéí'\n"
Psych::SyntaxError: (): couldn't parse YAML at line 0 column 0
from /usr/lib/ruby/1.9.1/psych.rb:154:in parse' from /usr/lib/ruby/1.9.1/psych.rb:154:inparse_stream'
from /usr/lib/ruby/1.9.1/psych.rb:125:in parse' from /usr/lib/ruby/1.9.1/psych.rb:112:inload'
from (irb):10
from /usr/bin/irb:12:in `



It seems to work for me:


Can you post the version of Psych and Ruby that you're using? (Just do ruby -v -rpsych -e'p Psych::VERSION')

delsoft commented Apr 8, 2013

Now this really working well! ;-)

I will remove the issue

@delsoft delsoft closed this Apr 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment