Subject RE: [IBO] Boolean fields question
Author Jason Wharton
Wolfgang write:
> On Tuesday 12 December 2006 21:34, Jason Wharton wrote:
> > I added numerical digits to the list of characters to
> > escape because numerical digits are used when certain
> > ASCII characters are escaped
>
> you make me curious. How do you escape certain ASCII characters?
>
> I would have expected something like \123 where 123 is the decimal
> or maybe the octal code but that is obviously not possible since
> if \1 is the same as 1, \123 is 123 (three characters)

There are two escape characters that I look for. If the decoding routine
does not encounter either of these escape characters then it passes on the
bytes raw. If it encounters the # or \ character then it takes the
following byte and decodes it according to the rules that I made up. The
original intent was to merely deal with the portion of the ASCII table that
is below 32 (space) and above 128.

Jason