You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Torsten Römer <to...@luniks.net> on 2007/06/06 15:38:20 UTC
[S2] Problems with special characters
I am experiencing quite strange problems with special characters such as
odiaresis and aring (ä,å,ö):
- Sometimes already when the form is redisplayed on validation error
- When the form values are inserted into the database
- When the form values are sent as text email
The strange thing is, that this doesn't always happen. Sometimes the
characters are displayed fine, sometimes they are shown as question mark.
A similar & also strange problem is when using getText() in the action.
It seems that depending on the locale set by the user, special
characters might get messed up as well.
Is this a problem with charsets? Encoding? Is there some JVM parameter
or Struts2 configuration that I could play with?
Torsten
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org