I'm not sure if it has to do specifically with http round trips, but this is what's happening: The timestamp column in the database contains 0x00000000291A63BF In the json response on the browser, it looks like \u0000\u0000\u0000\u0000)\u001Ac� After receiving it back on the server, when parsing it in Ruby code with Sequel.blob(ts[:TimeStamp]), I get a blob with 10 bytes, instead of the expected 8 bytes.
It looks like the last character turns into 3 bytes. When I replace the last, funny character in the string with a simple "a", I get a blob of 8 bytes. To me, it looks like a bug in Sequel.blob. -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/groups/opt_out.
