From: ara.t.howard@... Date: 2006-07-26T07:03:49+09:00 Subject: Re: YAML Broken? On Wed, 26 Jul 2006, David Pollak wrote: > Folks, > > It seems that when I YAML.dump arrays that contain long strings that > contain non-printables and sometimes UTF-8 sequences, the YAML'ed > objects can't be read back in. Is this a known issue? If so, is > there a known work-around? Alternatively, are there any other ways to > serialize objects (JSON doesn't work because eval() barfs on very long > strings)? > > Thanks, > > David can you show an example? harp:~ > ruby -r yaml -e' nul = 0.chr; y(YAML.load(YAML.dump(nul)) == nul) ' true harp:~ > ruby -v ruby 1.8.4 (2005-12-01) [i686-linux] -a -- suffering increases your inner strength. also, the wishing for suffering makes the suffering disappear. - h.h. the 14th dali lama