File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes extended characters problem with UTF-8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "extended characters problem with UTF-8" Watch "extended characters problem with UTF-8" New topic
Author

extended characters problem with UTF-8

Mitsman Rokanos
Greenhorn

Joined: Oct 16, 2009
Posts: 3
Hi
i face a severe problem with extended characters in JSF. I develop an application where i have a jsf page with some input text fields. I use the <?xml version="1.0" encoding="UTF-8"?> tag. When i enter eg. foo÷foo÷mpla÷ and i press aply then the text results to this " foo÷foo÷mpla÷ ". Could you please help me with this problem?
Thank you very much!
Mitsman Rokanos
Greenhorn

Joined: Oct 16, 2009
Posts: 3
???
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42932
    
  68
What is happening during "i press aply then the text results to this" - does that involve a round-trip to the server? If so, are you using UTF-8 as the encoding for all steps - request page, internal processing on the server and response page?

What does the XML markup you mention have to do with this - where is that used, and what for?
Mitsman Rokanos
Greenhorn

Joined: Oct 16, 2009
Posts: 3
When i press the apply button the values submitted reach the seters and getters responsible to store the values in the database. But before the data arrives there it comes back to the page rendered with wrong characters appended to the extended characters!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: extended characters problem with UTF-8