Character Set / Encoding
ASCII ASCII는 숫자, 영어의 알파벳, 몇몇 특수문자에 0-127 각각의 수를 할당한 것이다. 0~127 범위의 수를 사용하기 때문에 7bit로 표현이 가능하며, 따라서 각각의 문자는 메모리에 1byte로 저장할 수 잇다. ANSI ASCII는 언어를 영어밖에 표현하지 못하는 문제가 있다. 하지만, ASCII에는 1bit를 사용하지 않는 것을 알기 때문에 이를 활용하여 Code Page라고 하는 것을 도입했는데, 0-127 범위는 ASCII와 똑같고, 128-255 범위의 수들은 각각의 Code Page에 따라 다른 문자들을 할당한 것이다. ANSI라고 부르면 따로 고정된 Code Page를 칭하는 것은 아니며, 보통 "내 시스템의 Default Locale/Code Page"를 의미한다. 즉, ..
2022.04.24