From: Richard Conroy Date: 2007-10-23T22:53:43+09:00 Subject: Re: to_yaml and international characters On 10/23/07, h3raLd wrote: > Hello, > > I noticed some weird behavior when converting a string containing > international characters to YAML: > > irb(main):002:0> 'test עשט'.to_yaml > => "--- \"test \\x95\\x97\\x8A\"\n" > irb(main):003:0> IIRC the various YAML implementations in each language can choose to output UTF-8, or unicode-escaped ASCII. I think a YAML implementation has to be able to read either.