From: Luis Lavena Date: 2011-05-22T01:15:29+09:00 Subject: Re: BARRIER - ruby yaml - utf-8 characters not human readable On May 20, 11:26 am, 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? > Serialization of data depends on encoding. Learn about encodings and Ruby support of it before asking questions. Learn YAML specification about how it serializes non-ASCII information. If YAML doesn't fit you, write your own. YAML specs: http://www.yaml.org/spec/ Ruby encoding analysis: http://blog.grayproductions.net/articles/ruby_19s_three_default_encodings http://blog.segment7.net/2011/02/02/string-encoding-quick-start http://blog.segment7.net/2010/12/17/from-iconv-iconv-to-string-encode -- Luis Lavena