page encoding problem?

Hello,

we enter data in a form using German Umlauts e.g. 漩?br>This is stored in a SessionBean.

If the same page is reloaded due to e.g. a failed validation the Umlauts are scrambled: e.g. "h鰎en" becomes "h枚ren"

We suspect this got something to do with the HTML page encoding.

The Browser (Firefox) reads it as UTF-8, if it is switched to ISO-... some other static texts gets scrambled.

What should we do to resolve this?

The HTML source code created by Creator does not show any tag determining the encoding. How do we do this?

Any help is greatly appreciated,

Juergen

[623 byte] By [bookon] at [2007-11-26 10:55:22]
# 1
Check this thread.. http://swforum.sun.com/jive/thread.jspa?threadID=47967&tstart=0
Rradhika at 2007-7-7 3:08:35 > top of Java-index,Development Tools,Java Tools...
# 2
Do you have FileUpload component on the form? There are some yet unresolved issues with character encoding when using this component
AChervov at 2007-7-7 3:08:35 > top of Java-index,Development Tools,Java Tools...
# 3

> Check this thread..

> http://swforum.sun.com/jive/thread.jspa?threadID=47967

> &tstart=0

Thanks! This solved the problem and you earned some dukes.

If anybody else is looking for this, the important posting in this thread is:

"It's because of the UTF-8 character encoding. Go to the properties sheet for your page (right-click on the page's background, select properties) and in Advanced/Encoding replace "UTF-8" with "iso-8859-1"."

I read some threads yesterday but somehow overlooked this.

Thanks again,

Juergen

bookon at 2007-7-7 3:08:35 > top of Java-index,Development Tools,Java Tools...
# 4
> Do you have FileUpload component on the form? No.The issue was solved by setting the right page properties.Thanks for your thoughts and time,Juergen
bookon at 2007-7-7 3:08:35 > top of Java-index,Development Tools,Java Tools...