Hi,
There is a standard encoding "US-ASCII", which is supported by standard jdk.
It shows that fields are space terminated (0x20) and not null terminated (0x00). I assume that the instructions are using "null terminated" loosely, but I just want to make sure I am not overlooking something critical. How did you all interpret this?
Take a look at the
thread in the past.
There several solutions:
Some people have just ignored issue with null-terminated
string, some did it, since it is still valid operation to save a record containing space charachters (e.g. client sends update request isntead of "abc" , "abc ".
I save records filled with blanks on the rest, but if built in a parser for read in case an other programm writes null-terminated string in the data file.
Vlad