を使い文字コードをutf-8 or utf-16のsignature付きものを指定してから保存する 指定できるのは以下のもの utf-16be-with-signature utf-16be-with-signature-dos utf-16be-with-signature-mac utf-16be-with-signature-unix utf-16le-with-signature utf-16le-with-signature-dos utf-16le-with-signature-mac utf-16le-with-signature-unix utf-8-with-signature utf-8-with-signature-dos utf-8-with-signature-mac utf-8-with-signature-unix 例: