From: Ilias Lazaridis Date: 2011-06-04T19:05:32+09:00 Subject: Re: BARRIER - ruby yaml - utf-8 characters not human readable On 3 Ιούν, 07:26, Panagiotis Atmatzidis wrote: > 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 > > I can successfully manage Greek (save/red) chars using "ya2yaml (0.30)". [...] I can confirm this, as I've tried it. But the main issue was, to enable this behaviour out-of-the-box. As stated, it's solved now: http://redmine.ruby-lang.org/issues/4758 . -- http://lazaridis.com