크롤링에서요 utf8 인데 한글이 깨지거든요
관련링크
본문
전체 load 불러온걸 utf-8로 변환 하려면 어떻게 해야할까요??
답변 1
header('Content-Type: text/html; charset=utf-8');
<meta charset="utf-8"/>
$file = mb_convert_encoding($file, "UTF-8", "CP949");
답변을 작성하시기 전에 로그인 해주세요.