Binary?

why the lucky stiff why at hobix.com
Tue Sep 28 12:19:55 EDT 2004


Radley wrote:

> In my entry's YAML document, the content says "binary" and the post is 
> encoded in some wierd format. What's going on?

YAML tries to determine if a string contains unprintable characters and 
encodes the data in base64 if necessary.  In current versions of YAML, 
the string really only gets tagged as "binary" if it has a "\x00" 
character in the post.

What version of Ruby are you running?  Use: ruby -v.

_why


More information about the Hobix-is-the-way mailing list