[TYPO3-dev] Characters are badly encoded in form validation JavaScript
Francois Suter
fsuter at cobweb.ch
Fri Mar 27 15:15:00 CET 2009
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! :-)
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-dev
mailing list