title: Unable to parse as integer
body: <p>Alright...I have this .txt file (UTF-8)</p>
  
  <pre><code>4661,SOMETHING,3858884120607,24,24.09
  4659,SOMETHING1,3858884120621,24,15.95
  4660,SOMETHING2,3858884120614,24,19.58
  </code></pre>
  
  <p>And this code</p>
  
  <pre><code>FileInputStream fis = new FileInputStream(new File(someTextFile.txt));
  InputStreamReader isr = new InputStreamReader(fis, "UTF-8");
  BufferedReader in = new BufferedReader(isr);
  
  int i = 0;
  String line;
  while((line = in.readLine()) != null) {
  Pattern p = Pattern.compile(",");
  String[] article = p.split(line);
  
  // I don't know why but when a first line starts with
  // an integer - article[0] (which in .txt file is 4661)
  // becomes someWeirdCharacter4661 so I need to trim it
  // *weird character is like |=&gt;|
  
  if (i == 0) {
      StringBuffer articleCode = new StringBuffer(article[0]);
      articleCode.deleteCharAt(0);
      article[0] = articleCode.toString();
  }
  
  SomeArticle**.addOrChange(mContext, Integer.parseInt(article[0]), article[1], article[2], Integer.parseInt(article[3]), Double.parseDouble(article[4]));
  
  i++;
  }
  </code></pre>
  
  <p>On <b>emulator it's fine</b> but on real device (HTC Desire) I get this (weird) error:</p>
  
  <pre><code>E/AndroidRuntime(16422): java.lang.NumberFormatException: unable to parse '4661' as integer
  </code></pre>
  
  <p><b>What's the problem?</b></p>
  
  <p>** it's just some my class which needs those parameters as input (context,int,string,string,int,double)</p>