title: How to get "for" to get correctly encoded text from a UTF-8 formatted file?
body: <p>When I use "for" to read each line from 1.txt in UTF-8 format, it will be garbled.
  How to get the batch to correctly recognize UTF-8 encoded files?</p>
  
  <pre><code>for /F "tokens=*" %%f in (1.txt) do echo %%f
  pause
  </code></pre>