• Post Reply Bookmark Topic Watch Topic
  • New Topic

Encoding problem with RichFaces  RSS feed

 
Felix Sima
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.

I am developing a web application using JBoss 5.0.0.GA + RichFaces 3.2.2.GA and I want to use romanian characters on my pages, for instance: ţ.
The problem is that on my page this character is displayed like this: ţ. More precisely, if I put this character directly on my page like


it is displayed correctly, but if I use

where

in CustomMessages_ro.properties file, then on the page it comes like Judeţ

I have tried to instruct RichFaces to use UTF-8 encoding, but seems like I am missing something.

My JSP:


I have specified the below filter on my web.xml to be used instead of the default one

web.xml

On the run.bat script that launches JBoss application server I added
-Dfile.encoding=UTF-8

I don't know if it is important, but my page (the welcome page of my application) is display after a redirect, like this:



Am I missing something? Or is there any error on my code above?
Any help would be highly appreciated.
Thanks.

Best regards,
Felix
Use www.jaaava.com - A Google for Java !!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!