You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Stephan Schroeder (JIRA)" <ji...@apache.org> on 2008/04/02 13:07:58 UTC
[jira] Created: (WW-2570) problems wiht german Umlaute (äöü) in submit-tag
problems wiht 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
[quote]ausf�hren[/quote]
(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:
[quote]ausführen[/quote]
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.
[jira] Commented: (WW-2570) problems with German Umlaute (äöü) in submit-tag
Posted by "Stephan Schroeder (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44380#action_44380 ]
Stephan Schroeder commented on WW-2570:
---------------------------------------
The proposed solution works. Thanks.
> 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
> Assignee: Don Brown
> 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.
[jira] Updated: (WW-2570) problems wiht german Umlaute (äöü) in submit-tag
Posted by "Stephan Schroeder (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephan Schroeder updated WW-2570:
----------------------------------
Description:
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.
was:
I have problems wiht german Umlaute (äöü).
If i write
[code]<@s.submit value="ausführen"/>][/code]
i get
[quote]ausf�hren[/quote]
(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:
[quote]ausführen[/quote]
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.
> problems wiht 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.
[jira] Updated: (WW-2570) problems wiht german Umlaute (äöü) in submit-tag
Posted by "Don Brown (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Don Brown updated WW-2570:
--------------------------
Fix Version/s: 2.1.3
> problems wiht 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
> Fix For: 2.1.3
>
>
> 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.
[jira] Updated: (WW-2570) problems with German Umlaute (äöü) in submit-tag
Posted by "James Holmes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Holmes updated WW-2570:
-----------------------------
Summary: problems with German Umlaute (äöü) in submit-tag (was: problems wiht german Umlaute (äöü) in submit-tag)
> 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
> Fix For: 2.1.3
>
>
> 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.
[jira] Commented: (WW-2570) problems with German Umlaute (äöü) in submit-tag
Posted by "Don Brown (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (WW-2570) problems with German Umlaute (äöü) in submit-tag
Posted by "Don Brown (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Don Brown resolved WW-2570.
---------------------------
Resolution: Not A Problem
Fix Version/s: (was: 2.1.3)
Assignee: Don Brown
Please reopen this issue if the proposed solution doesn't work.
> 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
> Assignee: Don Brown
> 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.