• Post Reply Bookmark Topic Watch Topic
  • New Topic

Files and Bits

 
Keith Jones
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

Files first ... :

1. Can we use RandomAccessFile to read the database file or do we need to use DataOut/InputSteam as the spec seems to suggest?

Now bits ... :

A lot of people seem to be asking about this and yet no one seems to know what the right thing to do is.

2. Some suggest that when you read a string from the file you can do something like this:



3. Others say you should use ISO-8859-1 instead (as to how is another matter).

4. And to add to the confusion I read a post by Junilu Lacar

which says:



Got word back from Sun about this. Max Habibi was right: there was a typo in the instructions and it should read "7-bit US ASCII" instead of "8-bit US ASCII".



Does anyone know what's going on and what the truth of the matter is?

Cheers

Keith
 
Maybe he went home and went to bed. And took this tiny ad with him:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!