Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache MIME Problem

 
ajse ruku
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
My web application receives xml files through web service(Axis)and stores them on local filesystem.I am using tomcat 5.x behind apache 2.x web server.
The problem is that the "�", "�" characters inside xml are displayed as "??". Is it MIME type problem?

If yes then please suggest where i can provide valid mime types.

A different instance of the same application on different machine works fine.Thats why i am clueless why its not working.All the configuration are identical on both the machines.

regards,
ajse
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15274
38
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by ajse roy:
The problem is that the "�", "�" characters inside xml are displayed as "??". Is it MIME type problem?

No, it is most likely a character set problem.

But the problem could be in a place you don't expect. What software are you using to look at the content of the XML file? Are you sure that the problem isn't in that software? Maybe it doesn't know what character set your XML file is in.
 
ajse ruku
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if i open the xml through filezila then it looks like ??.
regards,
ajse
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic