[Typo3-dev] problem with JS escape() and UTF-8 (on IE)

Stanislas Rolland stanislas.rolland at fructifor.com
Thu Aug 26 20:53:36 CEST 2004


I modified getUpdateJS for the needs of extension sr_feuser_register:

if (window.decodeURIComponent) { unesc = decodeURIComponent('".rawurlencode($Nvalue)."') } else { unesc = unescape('".rawurlencode($Nvalue)."') };
updateForm('".$formName."','".$arrPrefix."[".$fKey."]',unesc);";

See file getUpdateJSModified.txt attached to bug 277.

The form now works correctly with utf-8 in Mozilla 1.5 and IE6.

However, the form does not work with a charset such as windows-1250.

Stanislas

-----------------------
This thread is located in the archive at this URL:
http://typo3.org/documentation/mailing-lists/dev-list-archive/thread/60679/
					





More information about the TYPO3-dev mailing list