[erlang-questions] unexpected result of term_to_binary

Steve Davis <>
Tue Jan 22 14:29:54 CET 2013


Because I was writing an ETF decoder for a language that does make a distinction between strings and arrays of integers, and wanted to avoid constraints on the kinds of terms that could be sent from the erlang side of things.

On Jan 21, 2013, at 11:23 PM, "Richard O'Keefe" <> wrote:

> 
> On 22/01/2013, at 8:38 AM, Steve Davis wrote:
> 
>> The following appears to encode lists of integers as strings (?!?):
>> 
>> Is there a reason for this that I'm missing?
> 
> Why do you _care_ what the encoding is as long as it decodes correctly?




More information about the erlang-questions mailing list