How to capture file names with chinese characters to file



On Windows, if DIR can't output unicode characters,
type the following (to change active code page) :

  1. CHCP 65001
  2. DIR > UTF8.TXT
  3. TYPE UTF8.TXT