psych does not accept accented characters #128

Closed
delsoft opened this Issue Feb 19, 2013 · 2 comments

Projects

None yet

2 participants

@delsoft
delsoft commented Feb 19, 2013

Example:

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 `

'

@tenderlove
Member

It seems to work for me:

chartacters

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

@delsoft
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