R
rkr
Dear all
I have a strange problem when using BufferedReaders.
I want to read the following file:
8-20-29.26 49-46-02.05
8-20-28.19 49-45-55.52
8-20-30.46 49-46-05.15
....
//***code****
BufferedReader bReader = new BufferedReader(new FileReader(filename));
String line = bReader.readLine();
//***********
A file containing two tab-separated columns. The first strange thing
is the output I get when using readLine():
■8 - 2 0 - 2 9 . 2 6 4 9 - 4 6 - 0 2 . 0 5
8 - 2 0 - 2 8 . 1 9 4 9 - 4 5 - 5 5 . 5 2
8 - 2 0 - 3 0 . 4 6 4 9 - 4 6 - 0 5 . 1 5
First of all I get spaces all over the place and moreover it adds
character of numeric value -1 at index 1. Here replaced with "■"
Has anyone an idea where that coulb be coming from?
Thank you and have a nice day...
I have a strange problem when using BufferedReaders.
I want to read the following file:
8-20-29.26 49-46-02.05
8-20-28.19 49-45-55.52
8-20-30.46 49-46-05.15
....
//***code****
BufferedReader bReader = new BufferedReader(new FileReader(filename));
String line = bReader.readLine();
//***********
A file containing two tab-separated columns. The first strange thing
is the output I get when using readLine():
■8 - 2 0 - 2 9 . 2 6 4 9 - 4 6 - 0 2 . 0 5
8 - 2 0 - 2 8 . 1 9 4 9 - 4 5 - 5 5 . 5 2
8 - 2 0 - 3 0 . 4 6 4 9 - 4 6 - 0 5 . 1 5
First of all I get spaces all over the place and moreover it adds
character of numeric value -1 at index 1. Here replaced with "■"
Has anyone an idea where that coulb be coming from?
Thank you and have a nice day...