title: javascript - reading local text file - charset issue
body: <p>I am reading local text file using input-type-file and FileReader.readAsText(). The problem arises when the local text file contains characters like <strong>Ü</strong>. In that case it is converted to <strong>ï¿</strong>. Of course I can set encoding manually to <strong>iso8859-1</strong> as a parameter of FileReader.readAsText(File, encoding) but the thing is that I have no clue what kind of encoding user has set on his side. </p>
  
  <p>My question is whether there is an option to determine encoding on client machine ?</p>
  
  <p>Best regards 
  kkris1983</p>