> For the complete documentation index, see [llms.txt](https://krjaeh0.gitbook.io/j-log/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://krjaeh0.gitbook.io/j-log/programming/cs_basics/data_representation/encoding-and-formats/unicode.md).

# Unicode

아스키 코드는 미국에서 만든 표준 코드이므로 알파벳 대소문자, 숫자, 특수 문자, 제어 문자만을 포함합니다. 초기에는 문제가 없었으나 점차 다양한 언어와 문자가 등장하면서 새로운 표준이 필요해졌고, 그 결과 유니코드가 등장했습니다.

{% hint style="info" %}
\*\*유니코드(Unicode)\*\*는 영어뿐만 아니라 전 세계 모든 언어의 문자에 고유한 번호를 부여하는 국제 표준 코드입니다. 서로 다른 언어를 사용할 때 문자가 호환되지 않는 문제를 해결하기 위해 만들어졌습니다.
{% endhint %}

유니코드는 아스키 코드보다 표현 범위를 크게 확장하여 최대 32비트로 문자 하나를 표현합니다. 현재 143,000개 이상의 문자를 표현할 수 있고, 유니코드의 처음 128개 문자는 아스키 코드의 문자와 정확히 일치합니다. 따라서 유니코드 안에 아스키 코드가 포함되어 있다고 볼 수 있습니다. 유니코드 값은 `U+` 뒤에 16진수를 붙여 나타냅니다.

예:

```
U+0041  // 'A'에 해당하는 유니코드 값
```

UTF-8, UTF-16, UTF-32 등 유니코드를 사용하는 다양한 인코딩 형식이 존재합니다. 이들은 컴퓨터가 어떤 문자를 어떻게 읽어야 하는지 정의해 주는 방식이며, UTF 뒤의 숫자는 비트를 의미합니다. 가장 일반적으로 사용되는 UTF-8은 1\~4바이트의 가변 크기로 문자 하나를 표현하는 방식으로, 아스키 코드와 유사합니다. 현재 대부분의 컴퓨터 환경에서 보이는 글자는 UTF-8로 인코딩된 경우가 많습니다.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://krjaeh0.gitbook.io/j-log/programming/cs_basics/data_representation/encoding-and-formats/unicode.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
