[TYPO3-ect] xaJax - Further development
Steffen Kamper
steffen at dislabs.de
Tue Jan 9 16:33:40 CET 2007
"R. van Twisk" <typo3 at rvt.dds.nl> schrieb im Newsbeitrag
news:mailman.68239.1168353443.21325.typo3-team-extension-coordination at lists.netfielders.de...
> 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
>
>
Hi Ries,
good advice, but the count of supported charsets is still very small, look
at
php.net/htmlspecialchars for supported charsets.
vg Steffen
More information about the TYPO3-team-extension-coordination
mailing list