- 2018.11.15
- 조회수 651
- 댓글수 12
한글을 입력하는 것들이 모두 깨져서 출력됩니다.
게시물이나 설정 등.. 한글을 입력한 것들이 모두 깨지고 DB에는 깨진 문자열이 그대로 들어있거나
\u00ec\u009d\u00b4 과 같은 형식으로 들어가 있습니다.
/config/production/database.php의 설정입니다.
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
MariaDB status 정보입니다.
information_schema의 정보입니다.
my.cnf 파일 설정값입니다.
[client]
default-character-set = utf8
[mysqld]
skip-character-set-client-handshake
collation-server = utf8_unicode_ci
init_connect='SET collation_connection = utf8_unicode_ci'
init_connect='SET NAMES utf8 CLLATE utf8_unicode_ci"
character-set-server = utf8
character-set-client = utf8
[mysqldump]
default-character-set = utf8
[mysql]
default-character-set = utf8
========================
정상적으로 utf8에 unicode 설정되어있는 것 같은데 계속 깨지네요.
DB랑 XE3의 설정 값의 문제일까요? utf8_general_ci로 모두 변경을 해도 안되고
여러가지로 DB와 /config/production/database.php 의 인코딩을 변경해봐도 계속 동일한 증상입니다.
뭐가 문제인지 확인이라도 되어야 재설치를 하든 설정을 변경하든 할텐데 동일한 증상을 해결하신 분이나 조언 부탁드립니다.
0개 댓글