• 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

File Encoding - copyright character read/displayed as "?"

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
There are three Tomcat environments that I'm currently working on. I have also listed some of the system properties used.
1. Local machine
- file.encoding=ISO-8859-1
- os.name=Windows XP
- os.version=5.1
2. QA server
- file.encoding=ISO-8859-1
- os.name=Linux
- os.version=2.4.9-e.35
3. Production:
- file.encoding=ISO-8859-1
- os.name=Linux
- os.version=2.4.9-e.38smp
My question is: I was trying to read from a file that contains the copyright character. When I run my web application in environments (1) and (2), the copyright character is properly read/displayed. But when I run the same application in environment (3), the question mark sign is read/displayedinstead of the copyright character.
Can someone please help?
Thank you very much.
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the following link may help
http://marc.theaimsgroup.com/?l=tomcat-user&m=105533035632753&w=2
 
marlon tan
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Is it possible to do this without changing file.encoding property of Tomcat? I've searched the web, and the copyright character is included in the ISO-8859-1 character set.
Thank you very much
[ April 04, 2004: Message edited by: marlon tan ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic