0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

サクラエディタで現在開いているファイルのBOM有無を確認

Posted at

やり方

設定 ⇒ 文字コードセット指定 。
image.png
image.png

蛇足

ステータスバーの右端に文字コードが表示されている。
image.png

しかし『BOMあり』なのか『BOM無し』なのか コレガワカラナイ

『BOMあり』だと下記表示になる。
image.png

つまり、ステータスバーで『UTF-8』だけの表示なら『BOM無し』と判別できる。

でも使う側が そういう仕様を覚えないといけない
覚えるの面倒くさい。

『UTF-8 BOM無』という表示にしたかったが、やり方が分からなかった。

参考サイトさん

バージョン

Windows 10 Pro 22H2 OSビルド 19045.2788
サクラエディタ v2.4.1.2849 32bit (tag v2.4.1)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?