Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

Well I dunno how they could possibly be null terminated if you can stick a null in any old string:

    >> "hello\0world".length
    => 11


view as:

That could be explained with ruby doing escaping of null characters automatically in the background, although I don't believe that to be the case.

Legal | privacy