Designing Custom Encoders

Escape Sequences

Use a backslash (\) to escape special characters. The following table lists the currently supported escape sequences.

Table 13 Escape Sequences

Sequence 

Description 

\ 

\ 

Backslash 

\ 

b 

Backspace 

\ 

f 

Linefeed 

\ 

n 

Newline 

\ 

r 

Carriage return 

\ 

t 

Tab 

\ 

ddd 

Octal number* 

\ 

xdd 

Hexadecimal number** 

*For octal values, the leading variable d can only be 0 - 3 (inclusive), while the other two can be 0 - 7 (inclusive). The maximum value is \377.

**For hexadecimal values, the variable d can be 0 - 9 (inclusive) and A - F (inclusive, either upper or lower case). The maximum value is \xFF.