From: Panagiotis Atmatzidis Date: 2011-06-03T13:26:30+09:00 Subject: Re: BARRIER - ruby yaml - utf-8 characters not human readable Hello, On 01 Ιουν 2011, at 12:55 μ.μ., Ilias Lazaridis wrote: > On 20 Μάϊος, 18:26, Ilias Lazaridis wrote: >> After reading within some archives, it seems that the standard- >> behaviour of ruby is to save utf-8 data within yaml files in this >> form: >> >> äïêéìÞ => "\x9B\xA6\xA1\xA0\xA3\xE3" >> >> Is this so? >> >> If yes, what is the simplest way to change this behaviour? >> >> Requirements: >> >> * solution should be usable for end-users >> * solution should not require any changes within the application >> which uses yaml >> >> Example solution: >> >> * gem install another-yaml-which-saves-human-readable-utf-8 > > fixed for ruby 1.9.3: > > (changed default YAML from "syck" to "psych", which saves utf-8 data > human readable) > > http://redmine.ruby-lang.org/issues/4758 > > . > > -- > http://lazaridis.com > > I can successfully manage Greek (save/red) chars using "ya2yaml (0.30)". Best Regards, -- Panagiotis Atmatzidis email: ml@convalesco.org blog: http://www.convalesco.org The wise man said: "Never argue with an idiot. They bring you down to their level and beat you with experience."