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

Unicodeとは、UTF-8・6、ユニコードスケープ形式とは

Posted at

Unicodeとは

Unicodeとは文字集合。世界中で使われている文字を集めたもの。

UTF8とUTF-16とは

UTF8とUTF-16はUnicodeで定義されている文字を符号化(エンコーディング)するもの。
| Unicode | UTF-8 | UTF-16 |
| ---- | ---- |
| あ | E3 81 82 | 42 30 |

ユニコードエスケープ形式とは

使用する文字コードが不明な状態を表現するために利用されるのがユニコードスケープ形式。
ユニコードエスケープ形式では「\u」に、文字の符号位置を表す16進数の値を付加します。たとえば「あ」という文字であれば「\u3042」。

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?