
Originally Posted by
im2amit
It is used for reading a file that is saved as UTF-8. But I saved my file as Unicode, you can see my MIDlet. I can describe my problem clearly: if a file includes 3 lines:
Hello world
Goodnight
Goodbyte
when I use my program it outputs:
Code:
Hello world
process completely
But I want it display only:
Code:
Hello world
process completely
That means in the first output the result include text and a new line, but I only want it display first line "Hello world" without new line like the second output (in this case I used the same way to output string System.out.print(string); ).