8.2.3 Specifying escape sequences
The following table lists and explains the escape sequences that are permitted in any property file except the service property file.
Escape sequence |
Description |
---|---|
\t |
Tab |
\n |
Linefeed (newline code) |
\f |
Form feed (page break) |
\r |
Carriage return |
\" |
Double quotation mark (") |
\' |
Single quotation mark (') |
\\ |
Backslash |
The following notes apply to escape sequences:
-
Unicode escape sequences in octal are not recognized. Specifying an invalid Unicode escape sequence results in an error.
-
If an invalid escape sequence is specified, \ is deleted and then the subsequent character is treated as a normal character. For example, if escape sequence \v is specified, v is assumed.
If a key specifies a distinguished name (DN), escape the attribute value that makes up the distinguished name. The following table lists the characters to be escaped and the escape sequences.
Character to be escaped |
Escape sequence |
---|---|
Single-byte space ( ) |
\20 |
Single-byte number symbol (#) |
\23 |
Single-byte double quotation mark (") |
\22 |
Single-byte backslash (\) |
\5C |
Single-byte forward slash (/) |
\2F |
Single-byte comma (,) |
\2C |
Single-byte plus sign (+) |
\2B |
Single-byte less than sign (<) |
\3C |
Single-byte greater than sign (>) |
\3E |
Single-byte semicolon (;) |
\3B |
Single-byte equal sign (=) |
\3D |
These escape sequences apply to the following properties:
-
ucnp.setup.server.ldap.java.naming.security.principal property in the user setup property file (ucnp_setup_user.properties)
-
ucnp.setup.server.ldap.com.cosminexus.admin.auth.ldap.basedn property in the user setup property file (ucnp_setup_user.properties)
-
ucnp.setup.server.ldap.group.basedn property in the user setup property file (ucnp_setup_user.properties)