Skip to content

Instantly share code, notes, and snippets.

@tmr111116
Created January 6, 2014 13:09
Show Gist options
  • Save tmr111116/8282663 to your computer and use it in GitHub Desktop.
Save tmr111116/8282663 to your computer and use it in GitHub Desktop.
デフォルトの Mac で UTF-8 の BOM をつけるコマンド
cat <(printf "\xEF\xBB\xBF") 元のUTF-8ファイル.txt > BOM付きUTF-8ファイル.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment