[FLOW3-general] Fluid and Japanese

"Christian Müller (Kitsunet)" christian at kitsunet.de
Fri Dec 3 09:09:13 CET 2010


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


More information about the FLOW3-general mailing list