From: Woody Peterson Date: 2010-07-31T02:38:47+09:00 Subject: Re: binary encode 7 ([7].pack("C")) as "\007" instead of "\a" > 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. The basic problem is that I was encoding binary data to its C escape sequences in my test (via to_s), and erlang will automatically decode this back to binary, except for the number 7. Thus it *appeared* like it was almost working, when in fact I was just doing it wrong. Sending the binary, not the escape sequences, is what I should have been doing. Apologies for the extra email, maybe this will save some poor confused soul someday... -- Posted via http://www.ruby-forum.com/.