Hi,

maybe I've got the same problem. I'm using Wicket 1.5 RC3 (but with tomcat 6.0.32) and each italian character (èàòì...) went lost, even if page encoding was UTF-8. I've tried each of the previous suggestions but they didn't work. I've solved it adding a filter to my app, as described here http://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q3

Hope this could help.
I remember something about it, I'll try it and tell if it made a difference..

thanks

2011/3/30 Antoine van Wel<[email protected]>:
Maybe this in application startup?

getMarkupSettings().setDefaultMarkupEncoding("UTF-8");


Antoine


On Wed, Mar 30, 2011 at 8:13 AM, nino martinez wael
<[email protected]>  wrote:
A screen shot? it's the text that should have shown this:

"IT support vest æ ø å"

http://www.imageupload.org/?d=4D92CA9C1

2011/3/29 Attila Király<[email protected]>:
Could you provide a small example showing the problem?

Attila

2011/3/29 nino martinez wael<[email protected]>

Yeah I think so, the file encoding are utf-8

Although this are in the header :

<!-- DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"; -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"
        xmlns:wicket="
http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd";>

We had the meta tag aswell for utf-8 but it made no difference..

Is there something else that I am missing?

2011/3/29 Attila Király<[email protected]>:
Yep I ment that and it looks ok. Is your html page in UTF-8 as well?

Attila

2011/3/29 nino martinez wael<[email protected]>

you mean like this:

    <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" URIEncoding="UTF-8" />

Already done so.. Or?

Thanks for helping..

2011/3/29 Attila Király<[email protected]>:
If this encoding issue is in url: did you configure Tomcat to use
UTF-8
for
uri encoding (URIEncoding attribute on the HTTP connector)? The
default
encoding for URI is ISO-8859-1 in Tomcat and UTF-8 in Jetty.

Attila

2011/3/29 nino martinez wael<[email protected]>

Hi Guys

Im not sure if this is a wicket issue (I don't think so). But we are
experiencing encoding(æøå) issues with Tomcat 7.0.11 after using
Apache Wicket 1.5-rc2. However this issue does not occur when running
Jetty..

Anyone has an idea on howto fix this?


regards Nino

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to