silverstripe/sapphire — pull request #953 by halkyon (2012-11-15 03:45:33+00:00)
Title: BUG Fixing encoding issue with non-ASCII characters

GridFieldAddExistingAutocompleter messes up non-ASCII characters
because GridField.js uses escape() to encode URI paramters.
This is known to be broken, and encodeURIComponent() is a better
alternative.

See http://stackoverflow.com/questions/75980/best-practice-escape-or-encodeuri-encodeuricomponent
for more information

Raised on this forum post: http://www.silverstripe.org/general-questions/show/21433#post318162