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

Martin Kutschker masi-no at spam-typo3.org
Fri Mar 27 15:24:55 CET 2009


Francois Suter schrieb:
> Hi,
> 
>>> 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
> 
> Thanks Masi and Steffen.
> 
> The patch is in the core list. Go and check it out! :-)

I fear you missed some parts of the explanation ;)

Masi




More information about the TYPO3-dev mailing list