• 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

chinese characters become funny characters

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

i have a problem with chinese character.

i send chinese character (繁簡自通 -> btw i dont know the meaning), but when my Action class receives it, the chinese characters turn out to be funny characters like this : ��?����?��??

my local is using Tomcat. if in my server.xml i put this: URIEncoding="UTF-8" in Connector tag, it CAN work.

BUT the problem is, in my production environment, i use Websphere, and i cannot set the same thing like above.

i tried to set 'AddDefaultCharset Off' on my httpd.conf, but it didnt seem to work..

can someone help me on this? i am at my wit's end..
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi vi dj welcome to Javaranch,
first things first, your name does does not seem to follow the Javaranch naming policy
please change it here

Also check the weblogic manual to set the encoding to UTF-8.


Hope this helps .
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic