• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

extended characters problem with UTF-8

 
Mitsman Rokanos
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
???
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic