Eliminate "not well-formed" error log.
Handle all characters when opening the script Preferences window.

Fixes #1732