Don't use WC_ERR_INVALID_CHARS for compatibility with Windows XP.