Fix to support umlaut and other European charaters
Replaced with encodeURIComponent(soql) and
encodeURIComponent(sosl)
When trying to soql or sosl search for account names and other field containing umlauts and special characters, it fails to correctly encode using escape().
As far as I know, escape() is deprecated, and encodeURIComponent() is the recommended replacement as well.
Fix to support umlaut and other European charaters Replaced with encodeURIComponent(soql) and encodeURIComponent(sosl)
When trying to soql or sosl search for account names and other field containing umlauts and special characters, it fails to correctly encode using escape().
As far as I know, escape() is deprecated, and encodeURIComponent() is the recommended replacement as well.