println(char), characters turn into Chinese?
<p>Please help me to troubleshoot this problem.</p>

<p>A have an input file 'Trial.txt' with content "Thanh Le".</p>

<p>Here is the function I used in an attempt to read from the file:</p>

<pre><code>    public char[] importSeq(){
    File file = new File("G:\\trial.txt");

    char temp_seq[] = new char[100];

    try{
    FileInputStream fis = new FileInputStream(file);
    BufferedInputStream bis = new BufferedInputStream(fis);
    DataInputStream dis = new DataInputStream(bis);

    int i = 0;

    //Try to read all character till the end of file
    while(dis.available() != 0){
        temp_seq[i]=dis.readChar();
        i++;
    }
    System.out.println(" imported");
    } catch (FileNotFoundException e){
        e.printStackTrace();
    } catch (IOException e){
        e.printStackTrace();
    }

    return temp_seq;
}
</code></pre>

<p>And the main function:</p>

<pre><code>public static void main(String[] args) {

    Sequence s1 = new Sequence();

    char result[];

    result = s1.importSeq();

    int i = 0;
    while(result[i] != 0){
        System.out.println(result[i]);
        i++;
    }
}
</code></pre>

<p>And this is the output.</p>

<p>run:</p>

<pre><code> imported
瑨
慮
栠
汥
BUILD SUCCESSFUL (total time: 0 seconds)
</code></pre>
