Skip to content

Instantly share code, notes, and snippets.

@tumugin
Created October 29, 2016 15:18
Show Gist options
  • Save tumugin/b34c3a9bdce23f17e6780a64003a4523 to your computer and use it in GitHub Desktop.
Save tumugin/b34c3a9bdce23f17e6780a64003a4523 to your computer and use it in GitHub Desktop.
MSVCコンパイラはクソなのでBOM無しUTF8は読めないので、BOMを付けてやる
#MSVCコンパイラはクソなのでBOM無しUTF8は読めないので、BOMを付けてやる
find -name '*.cpp' -o -name '*.h' | xargs nkf --overwrite --oc=UTF-8-BOM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment