[TYPO3-ect] xaJax - Further development
R. van Twisk
typo3 at rvt.dds.nl
Tue Jan 9 15:28:34 CET 2007
Steffen Kamper wrote:
> "Elmar HInz" <elmar.DOT.hinz at team.MINUS.red.DOT.net> schrieb im Newsbeitrag
> news:mailman.1.1168337217.13327.typo3-team-extension-coordination at lists.netfielders.de...
>
>> Am Tue, 09 Jan 2007 10:12:57 +0100 schrieb Steffen Kamper:
>>
>>
>>> Hi,
>>>
>>> I myself had a lot of problems with xAjax using utf-8 in IE, when content
>>> contains htmlspecialchars.
>>> It would be nice to have some clues how to deal best with.
>>>
>>> vg Steffen
>>>
>> Hi Steffen,
>>
>> I think the answer is simple. The xajax transport format is done in XML so
>> it matches perfectly with xhtml. For both types htmlspecialchars need to
>> be delivered as entities, wich is done by parsing them through the
>> function htmlspecialchars.
>>
>> Regards
>>
>> Elmar
>>
>>
>>
>
> thanks Elmar, I will check that ;-)
> vg Steffen
>
Hey steffen,
not that you would forget (but I have seen many occasions in extensions)
is that
the function htmlspecialchars also accepts a charset, you can pass the
FE charset (metacharset I think)
to that function:
string *htmlspecialchars* ( string string [, int quote_style [, string
charset]] )
Ries
--
Ries van Twisk
Freelance Typo3 Developer
=== Private:
email: ries at vantwisk.nl
web: http://www.rvantwisk.nl/freelance-typo3.html
skype: callto://r.vantwisk
More information about the TYPO3-team-extension-coordination
mailing list