Skip to content

Instantly share code, notes, and snippets.

@yaqinking
Created November 24, 2016 09:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yaqinking/3f1c8eaacb3898fadd9e0b4c1e03f801 to your computer and use it in GitHub Desktop.
Save yaqinking/3f1c8eaacb3898fadd9e0b4c1e03f801 to your computer and use it in GitHub Desktop.
使用 iconv 来转换 UTF-8 编码到 UTF-16LE 编码
:: 一句一句执行
mkdir new
for /f %x in ('dir /b *.tjs') do iconv -f UTF-8 -t UTF-16LE %x > new\%x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment