[FLOW3-general] Fluid and Japanese
Thomas Layh
thomas at layh.com
Fri Dec 3 14:21:00 CET 2010
Thanks guys,
I found a solution that works for me. I am combining the raw-ViewHelper with
my own ViewHelper now.
The own ViewHelper just replaces the < with the corresponding entity for now
and this way it is not possible anymore to execute some JS stuff.
Thanks again for the help.
Greetings,
Thomas
On Fri, Dec 3, 2010 at 09:09, "Christian Müller (Kitsunet)" <
christian at kitsunet.de> wrote:
> On 03.12.2010 07:37, Thomas Layh wrote:
>
>> Hey together, its me again with another problem.
>>
>> On my current FLOW3 Project there are about 45% of Japanese users so it is
>> very important for me to display Japanese signs.
>>
>> Currently the Japanese signs are displayed as HTML Entities:
>> 非同期通知(ク
>>
>> If I use the ViewHelper<f:raw> they are displayed correctly but then I
>> have
>> the problem that stuff like<script>alert('hello);</script> is executed.
>>
>> I checked all the ViewHelpers but I could not find one that works like I
>> want it to. I tried the<f:escape> but it will not display my Japanese
>> signs.
>>
>> Is there something I can do or do I have to write my own ViewHelper to
>> catch
>> this cases?
>>
>> Greetings and thanks for the help again.
>> Thomas
>>
>
> Why not go for UTF-8 and put the Kanji as they are instead of entities?
>
> Christian
>
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
>
More information about the FLOW3-general
mailing list