[
https://issues.apache.org/struts/browse/WW-2570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44372#action_44372
]
Don Brown commented on WW-2570:
-------------------------------
I think the problem is you don't have Freemarker configured for the right
encoding correctly. When Freemarker parses the template, it converts the bytes
into unicode, so if it doesn't know the encoding, my guess is it picks one that
you don't want. The template is parsed with the encoding you set in the
'struts.i18n.encoding' property. Try setting that to the desired encoding in
either struts.xml or struts.properties, whichever you use for settings.
> problems with German Umlaute (äöü) in submit-tag
> ------------------------------------------------
>
> Key: WW-2570
> URL: https://issues.apache.org/struts/browse/WW-2570
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.0.11.1
> Environment: Vista, Java 1.6.0_05
> Reporter: Stephan Schroeder
> Priority: Minor
>
> I have problems wiht german Umlaute (äöü).
> If i write
> [code]<@s.submit value="ausführen"/>][/code]
> i get
> [result]ausf�hren[/result]
> (actually there is a small box instead of the ü)
> but when i escape the text myself and write
> [code]<@s.submit value="ausführen"/>][/code]
> that is exactly what is display because the & is escaped:
> [result]ausführen[/result]
> Therefore i think there is a problem within the escaping routine because '&'
> is escaped correctly while 'ü' is not.
> The charset ist western european
> [code]<meta http-equiv="content-type" content="text/html;
> charset=ISO-8859-1">[/code].Setting it to UTF-8 didn't change anything.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.