[TYPO3-dev] Characters are badly encoded in form validation JavaScript

Steffen Kamper info at sk-typo3.de
Fri Mar 27 12:25:31 CET 2009


Hi,

Martin Kutschker schrieb:
> If you must encode strings then use encodeURI (don't recall the exact
> name), but this function converts the data to UTF8. So depending on the
> context and local charset you must en/decode from or to UTF8 PHP.
> Besides that, really old browsers don't know this function.
> 

here is the reference:
http://www.w3schools.com/jsref/jsref_obj_global.asp

vg Steffen




More information about the TYPO3-dev mailing list