title: How to read fixed length character using BufferReader or other method?
body: <p>If I use BufferReader to read a line, I can get a string of a line.
  The code is this :</p>
  
  <pre><code>FileInputStream fs = new FileInputStream("E:\\tmp\\aaa.txt");
  BufferedReader br = new BufferedReader(new InputStreamReader(fs));
  
  
  String line = null;  
  while ((line = br.readLine()) != null) { 
      System.out.println(line.length() + " " +line.substring(0, 2);
  }
  </code></pre>
  
  <p>The contents of aaa.txt is :</p>
  
  <pre><code>一二三四1234
  </code></pre>
  
  <p>so. the result of running the code is :</p>
  
  <pre><code>8 一二
  </code></pre>
  
  <p>From the result , I know the length of a chinese character in String is one, not two.</p>
  
  <p><strong>So If I use line.substring(0,2), I get two chinese character "一二". 
  But I hope that, the result of  line.substring(0,2) is "一".</strong> </p>
  
  <p>I mean that, in my eye the length of "一二三四1234" is 12, not 8.I can use substring(0,2) to 
  extract fixed length character.</p>
  
  <p>Thanks in advance.</p>