From: "F. Senault" Date: 2007-09-12T20:45:07+09:00 Subject: Re: what is this syntax: \001\002 ? Le 12 septembre � 13:10, 7stud -- a �crit : > 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? How about a ding dang explanation Mr. > Thomas? You should look in the 3rd part, chapter 22, under "The Basic Types". Table 22.2, page 306 (in my PDF edition). It says : | Table 22.2. Substitutions in double-quoted strings | -------------------------------------------------------------- | \a Bell / alert (0x07) \nnn Octal nnn | \b Backspace (0x08) \xnn Hex nn | \e Escape (0x1b) \cx Control-x | \f Formfeed (0x0c) \C-x Control-x | \n Newline (0x0a) \M-x Meta-x | \r Return (0x0d) \M-\C-x Meta-control-x | \s Space (0x20) \x x | \t Tab (0x09) #{code} Value of code | \v Vertical tab (0x0b) | -------------------------------------------------------------- So, your example uses the octal representation. Fred -- If my son wants to be a pimp when he grows up, that's fine with me. I hope he's a good one and enjoys it and doesn't get caught. I'll support him in this. But if he wants to be a network administrator, he's out of the house and not part of my family. (Steve Wozniak)