UNSAFE — Enables, disables, saves, restores, or lists dangerous characters.

Syntax:
UNSAFE /D:chars /E:chars /R /S /Z

/D:charsdisable (treat as safe) the following characters
/E:charsenable (treat as dangerous) the following characters
/Rrestore the list of dangerous characters from the registry
/Ssave the list of dangerous characters to the registry
/Zreset the list of dangerous characters to the plugin defaults

This command allows you to customize the list of “dangerous” characters. You can enable more characters, so the plugin will treat them as dangerous and remap them to Unicode alternates, or disable characters so they are not considered dangerous and will not be remapped. Only characters in the range of 32 - 127 can be remapped. You can also save your modified list of dangerous characters to the registry; it will then be reloaded automatically when the plugin starts.

The /D:chars and /E:chars options disable and enable characters. chars may be specified as: a single character; a decimal value from 32 to 127, or a hexadecimal value from 0x20 to 0x7F; a character range specified as two characters/values separated by a minus sign; or a list of two or more characters/ranges separated by commas or semicolons.

/S saves the current settings, making them the default when the plugin is loaded in the future. This data is saved in the registry, in a key named HKEY_CURRENT_USER\SOFTWARE\JPPlugins\SafeChars. /R reloads the settings from the registry, as if the plugin were unloaded and reloaded. /Z resets the dangerous characters to the plugin’s defaults.

For example, to include the comma as a dangerous character:

unsafe /e:,

To include the comma and make this setting the default in the future:

unsafe /e:, /s

Most options can be combined (you cannot combine /R and /Z); combined options will be processed in a reasonable order. A /R or /Z is handled before any /D or /E; a /S is handled after all other options. If you do not specify any options at all, UNSAFE will display the current list of dangerous characters.