Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.10 seconds.

  1. Re: Reading in entire contents of text file to one string

    Try this:

    BufferedReader br = new BufferedReader(new FileReader(InputFile));


    instead of:

    FileInputStream fstream = new FileInputStream(InputFile); // Get the object of DataInputStream
    ...
  2. Re: Reading in entire contents of text file to one string

    The character is a Unicode Byte Order mark (BOM). It is used to indicate the byte order of a text file.

    If you want information about it, I found this supposable fix: comp.lang.java.programmer |...
  3. Re: Reading in entire contents of text file to one string

    Do something for us.

    After you get the String, do the String.charAt(0) method, cast it as an int, and print out the result.That should give us an idea of its ASCII values and then we can use the...
Results 1 to 3 of 3