• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to main the same character encoding(eg. UTF-8) throughout struts application?

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

As I didn't get any reponse to my previous post , I am trying to explain it better in this post.Sorry if it is annoying!

I am working on a chinese project.
My jsp has UTF-8 encoding and it displays chinese properly.But the same input displayed by Action looks garbled.I tried setCharacterEncoding("UTF-8") in action but in vain.Do I have to set encoding somwhere else also? So please help me understand how to maintain the same encoding (eg.UTF-8) through out the I18n application from jsp to database and back.

thanks,
Vijay Nivas.
 
Doody calls. I would really rather that it didn't. Comfort me wise and sterile tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic