[FLOW3-general] Fluid and Japanese

Kay Strobach typo3 at kay-strobach.de
Fri Dec 3 08:09:37 CET 2010


Hi Thomas,

what's your goal?

- remove tags, but display chars?
  than you should be able to use the striptags viewhelper and raw
   recursivly if i remeber right ;)

Best regards
Kay

Am 03.12.2010 07:37, schrieb Thomas Layh:
> 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



More information about the FLOW3-general mailing list