This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes The � is stronger than the $ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "The � is stronger than the $" Watch "The � is stronger than the $" New topic

The � is stronger than the $

Keith Jones
Ranch Hand

Joined: Oct 30, 2006
Posts: 105
I wanted to update a record in the data file in order to test my update method. The method works fine except when writing '�' (under hourly charge). This appears as a minus number when viewed. The reason is that although '$' is part of the ascii table us Brits aren't so lucky. i assume I'll have to use only dollars when writing to the file.

SCJP 1.4
Chulwoo Choi
Ranch Hand

Joined: Apr 11, 2005
Posts: 65
The character encoding is 8 bit US ASCII for the field values. So you don't have to worry about the British pound symbol.

Keith Jones
Ranch Hand

Joined: Oct 30, 2006
Posts: 105
Have you checked out Aspose?
subject: The � is stronger than the $
It's not a secret anymore!