문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
database:mysql:charset [2018/11/22 16:41] kwon37xi |
database:mysql:charset [2022/04/14 12:51] (현재) kwon37xi |
||
---|---|---|---|
줄 5: | 줄 5: | ||
* [[http:// | * [[http:// | ||
- | | + | > A character set is a set of symbols and encodings. A collation is a set of rules for comparing characters in a character set. |
- | + | > 문자셋(character set)은 심볼(글자)과 인코딩의 묶음이고, | |
- | | + | > 예를들어 글자 A=0, B=1, a=10, b=11 이라고 할 때 ' |
- | + | > 하지만 만약 대소문자를 구분하지 않는(case insensitive) collation을 지정하면 ' | |
- | | + | |
- | 하지만 만약 대소문자를 구분하지 않는(case insensitive) collation을 지정하면 ' | + | |
===== 기본 설정 ===== | ===== 기본 설정 ===== | ||
* UTF-8 설정 (Ubuntu : ''/ | * UTF-8 설정 (Ubuntu : ''/ | ||
줄 102: | 줄 100: | ||
set names utf8mb4 collate utf8mb4_unicode_ci; | set names utf8mb4 collate utf8mb4_unicode_ci; | ||
</ | </ | ||
+ | |||
+ | ===== 참조 ===== | ||
+ | * [[https:// | ||
+ | |||