• 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Peter Rooke
  • Himai Minh
  • Piet Souris
  • Mikalai Zaikin

Unicode Problem in Struts using dom4j for xml parsing

Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am facing problem related to UTF-8.
I am using dom4j for generating xml in struts 1.3.

My xml document carry some non English character (Hindi).
Now the problem is when I am generating xml using dom4j in core java. Then Hindi character is coming.
But when using with struts then becoming junk (like : ???).
The problem I am unable to understand.
my environment is following:
OS : windows 7
IDE : Eclipse
java version : 1.6
Struts version : 1.3

I am using servlet filter to encode the request to UTF-8.

Same code is working while using in core java (using main method).
please help.

Ranveer K Kumar

    Bookmark Topic Watch Topic
  • New Topic