From: Luis Parravicini Date: 2007-09-12T20:46:27+09:00 Subject: Re: what is this syntax: \001\002 ? On 9/12/07, 7stud -- wrote: > Hi, > > On p. 131-132 in "Programming Ruby 2d.", it talks about writing binary > data to files, but there's no explanation of the syntax: > > str1 = "\001\002\003" > > I looked in the index of the book, I poured over "The Ruby Language" > chapter, and I also couldn't find any escape character that was "\0". > Is that Ruby's unicode syntax? Hi That's the way of expressing octal numbers. -- Luis Parravicini http://ktulu.com.ar/blog/