Documentation forKiwi Syslog Server

JScript escape characters

Use the following escape characters in JScript scripts to turn special characters, such as backslashes, quotation marks, and so on, into string characters when used in script syntax. Excluding the escape sequences included in this table, codes for the character that follows the backslash in the escape sequence. For example, "\a" is interpreted as "a".

Because the backslash represents the start of an escape sequence, you cannot directly enter a sequence into your script.

If you want to include a backslash, you must type two sequential characters (\\). For example: The log file path is C:\\Program Files\\Syslogd\\Logs\\SyslogCatchAll.txt

Use the single quotes and double quote to escape sequences to include quotes in string literals. For example: The caption reads, \"This is a test message from \'Kiwi SyslogGen\'.\"

Escape sequence Meaning
\b Backspace

Form feed


Line feed (new line)


Carriage return. Use with the line feed (\r\n) to format output.


Horizontal tab


Vertical tab


Single quote (')


Double quote (")


Backslash (\)


ASCII character represented by the octal number n. *


ASCII character represented by the two-digit hexadecimal number hh.


Unicode character represented by the four-digit hexadecimal number hhhh.