2
2

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.

目視でエンコーディングを判別するコツ

Last updated at Posted at 2013-02-06

ShiftJIS

  • ASCII 文字はそのまま1バイトで表現
  • ASCII以外は2バイト単位になっている。
  • 8??? という値の繰り返しが多い。

UTF-8

  • ASCII 文字はそのまま1バイトで表現
  • 1文字が 1バイト 〜 3バイト 単位(可変)で構成される。
  • ひらがな、カタカナが e380?? 〜 e383?? あたりのバイト列になっている。
2
2
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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?