File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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
I agree. Here's the link:
subject: The � is stronger than the $
jQuery in Action, 3rd edition