티스토리 뷰

:: UTF-8


if(function_exists('mb_detect_encoding')) { // 특정 컴퓨터에서 UTF-8 아닌 언어셋으로 자동 변경되는 부분을 해결 하기 위한 코드 
   $searchName = iconv( mb_detect_encoding( $searchName ), 'UTF-8', $searchName);
}

 

:: EUC-KR


if(function_exists('mb_detect_encoding')) { // 특정 컴퓨터에서 EUC-KR 아닌 언어셋으로 자동 변경되는 부분을 해결 하기 위한 코드 
    $fix_rows[$i]['mobile'] = iconv( mb_detect_encoding( $fix_rows[$i]['mobile'] ), 'EUC-KR', $fix_rows[$i]['mobile']);
}

 

 

Total
Today
Yesterday
최근에 올라온 글
«   2025/04   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30