[erlang-questions] binary_to_term strangeness

Arjan Scherpenisse arjan@REDACTED
Fri Dec 2 09:52:44 CET 2011


Hi list,

In the zotonic project I've stumbled on a strange issue that maybe rings
a bell with someone on this list.

Basically, we have some term_to_binary encoded data in the database that
can no longer be decoded. it seems that somewhere an encoded  binary is
2 bytes longer than its length.

A full discussion can be found here:

https://github.com/zotonic/zotonic/issues/272

The binary was encoded either with R13B03, R14B03 or R14B04 (the site's
has database moved across different servers)

In these releases, has anything been changed to the binary
encoding/decoding of terms?

Thanks,

Arjan


-- 
Arjan Scherpenisse ----- New media art, research, development
arjan@REDACTED +31641322599 - http://scherpenisse.net



More information about the erlang-questions mailing list