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 5 years have passed since last update.

Sublime Text 3 (Sublime Text 2) > Error > Errors occured while converting XXX with Shift_JIS encoding.

Posted at
動作環境
Sublime Text 3, Build 3143
  + ConvertToUTF8 インストール済み

Sublime Text 2, v2.0.2 Build 2221
  + ConvertToUTF8 インストール済み

エラー

Shift_JISのファイルを開こうとしていた。
Encodingを聞かれたので「Shift_JIS」を選択した。

下記のエラーが出た。

qiita.png

対処

Encodingの選択ダイアログにおいて「Shift_JIS」ではなく「CP932」を選択するとエラーは出なかった。

関連: 本当は怖くないCP932

対象ファイル以外は「Shift_JIS」で問題なく開く。
どのようにして、対象ファイルだけがCP932となってしまったのかは不明。

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?