From: Ryan Davis Date: 2010-07-31T05:00:47+09:00 Subject: Re: binary encode 7 ([7].pack("C")) as "\007" instead of "\a" On Jul 30, 2010, at 10:38 , Woody Peterson wrote: >> The basic problem is that ruby encodes the integer 7 as "\a", while >> erlang only decodes it as "\007" > > Correction, this is actually a non-issue. Well, I think it was a non-issue regardless of what erlang is doing: >> "\a" == "\007" => true >> "\007"[0] => 7 >> "\a"[0] => 7 I'd guess you should be writing tests to verify instead of eyeballing it.