This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

[Struts2] Textarea encoding.

 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I have a little problem with <s:textarea>. When i retrieve the text of my textarea which contains é,è,ê,... i retrieve them like this: "?"

Someone know how to fix that? (my pages are encoded en "ISO-8859-1" and not in "UTF-8")

Thanks in advance!
 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Fabian Angy wrote:Hi!

I have a little problem with <s:textarea>. When i retrieve the text of my textarea which contains é,è,ê,... i retrieve them like this: "?"


Unicode problem

Fabian Angy wrote:(my pages are encoded en "ISO-8859-1" and not in "UTF-8")


You know the solution, change the page encoding to "UTF-8"
 
Ranch Hand
Posts: 689
Scala Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

write down below code at top your JSP page and check working proper or not...



 
Fabian Angy
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ohhww!!

It's ok!

Sorry, i'm stupid

Thank you!!
 
Nishan Patel
Ranch Hand
Posts: 689
Scala Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is that ?

Still showing ??? on your text...
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!