File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Ñ and Tildes problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Ñ and Tildes problem" Watch "Ñ and Tildes problem" New topic

Ñ and Tildes problem

Nicolas Borromeo

Joined: Mar 02, 2009
Posts: 1
hi, im having a very strange problem.
Im have an aplication running on an Apache Tomcat 6.0.18, with Myfaces: Tomahawk, Hibernate 3, MySql and Spring Framwork. Im have a form that uploads news to a table in my database. When i enter notices with ñ or tildes, when y go to see them, strange characters appers, such A+ or things like that. But, when i come back to the form, upload another notice, the ñ and tildes appear good, with no one strange character, checking that in many browsers, i discover when y clean my private data from the browser, such as cookies and cache, the first time i upload a news, the ñ and tildes appear with strange characters, the second time no, and when i again clear cache and cookies, the problem do the same, the first time wrong, the second right. But the first news still appears wrong, the other appear good. Any ideas? , i have mysql with utf-8 in database, and in spring-hibernate configuration i set all i can to utf-8, and in the jsf too. Another thing, when i see wrong characters in the page, i see wrong characters in the databse, when i see good charactrers in jsf, i see good characters in database, the problem is in the first entry i do when i clear the cache, thnx you
I agree. Here's the link:
subject: Ñ and Tildes problem
It's not a secret anymore!