From: Alex Young Date: 2006-07-26T08:52:40+09:00 Subject: Re: YAML Broken? 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)? If you're on Windows, check you're reading and writing in binary mode... Not sure if that's what'll be causing your problem, but it's tripped me up before. -- Alex