jkuehn
2008-11-28 21:52:08 UTC
Hi guys,
its driving my crazy for hours, i just cant figure out a solution:
I am using german umlauts on my page. If i enter umlaut characters directly
in the gsp, they are shown correctly, but if i use the message tag, then the
output is messed up: Nächste becomes Nächste
If i save the properties file as ISO-8859-1 then the strings are displayed
correctly. Why and what component is assuming, that the file is iso??
Now the superweird thing: i created a fresh app and put <g:message
code="default.paginate.next" /> into the body tag of web-app/index.gsp. so
"Nächste" is displayed correctly for the german language. If i copy the
whole file (not the contents, the file) into my app, then "Nächste" is
pumped out. Why??
The only plugin i installed is mail, so i installed it on the fresh app too,
didnt change anything.
Also tried to set -Dfile.encoding="UTF-8" as JAVA_OPTS, no effect.
I didnt change any encoding settings on the project. In both projects, all
files are encoded in UTF8
What makes Grails/Spring think that the messages_de.properties is NOT utf8?
Any help is very appreciated!
its driving my crazy for hours, i just cant figure out a solution:
I am using german umlauts on my page. If i enter umlaut characters directly
in the gsp, they are shown correctly, but if i use the message tag, then the
output is messed up: Nächste becomes Nächste
If i save the properties file as ISO-8859-1 then the strings are displayed
correctly. Why and what component is assuming, that the file is iso??
Now the superweird thing: i created a fresh app and put <g:message
code="default.paginate.next" /> into the body tag of web-app/index.gsp. so
"Nächste" is displayed correctly for the german language. If i copy the
whole file (not the contents, the file) into my app, then "Nächste" is
pumped out. Why??
The only plugin i installed is mail, so i installed it on the fresh app too,
didnt change anything.
Also tried to set -Dfile.encoding="UTF-8" as JAVA_OPTS, no effect.
I didnt change any encoding settings on the project. In both projects, all
files are encoded in UTF8
What makes Grails/Spring think that the messages_de.properties is NOT utf8?
Any help is very appreciated!
--
View this message in context: http://www.nabble.com/Encoding-problem%3A-utf8-not-displayed-correctly-for-properties-tp20740968p20740968.html
Sent from the grails - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
View this message in context: http://www.nabble.com/Encoding-problem%3A-utf8-not-displayed-correctly-for-properties-tp20740968p20740968.html
Sent from the grails - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email