#author("2022-01-18T22:53:30+00:00","default:hotate","hotate")
#author("2023-10-22T09:49:54+00:00;2022-01-18T22:53:30+00:00","default:hotate","hotate")
#contents
&tag(file, コマンド);
&tag(file,コマンド);

*[[コマンド]] [#oe0f2085]
** 文字コード [#tfa92795]
- [[Macでファイルの文字コードを調べる - Qiita>https://qiita.com/pugiemonn/items/106749351991037fb606]]
 fileコマンドに--mimeオプションをつけます。
 file --mime hoge.php


** [[utf-8]] [#hcadc276]
- [[【メモ】コマンドでのBOMの追加・削除・確認 - Qiita>https://qiita.com/tamanugi/items/63fe5cf8e709565777a5]]
 BOM(文字コードの確認)は file コマンドでできる

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS