테스트 사이트 - 개발 중인 베타 버전입니다

루트 계정으로 접속하면 한글이 깨지는데~~ 왜그럴까요? 채택완료

더블피디 7년 전 조회 1,791

일반 계정으로 접속 시

<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>

<script>
// 글자수 제한
var char_min = parseInt(<?php echo $comment_min ?>); // 최소
var char_max = parseInt(<?php echo $comment_max ?>); // 최대
</script>

<!-- 댓글 시작 { -->
<section id="bo_vc">
    <h2>댓글목록</h2>
    <?php
    $cmt_amt = count($list);
    for ($i=0; $i<$cmt_amt; $i++) {
        $comment_id = $list[$i]['wr_id'];
        $cmt_depth = ""; // 댓글단계
        $cmt_depth = strlen($list[$i]['wr_comment_reply']) * 20;
        $comment = $list[$i]['content'];
        /*

 

 

 

root 계정으로 접속 시 

 

 

<?php
if (!defined('_GNUBOARD_')) exit; // �~\�~D �~N~X�~]��~@ �| ~Q근 �~H�~@
?>

<script>
// �~@�~^~P�~H~X �| ~\�~U~\
var char_min = parseInt(<?php echo $comment_min ?>); // �~\�~F~L
var char_max = parseInt(<?php echo $comment_max ?>); // �~\�~L~@
</script>

<!-- �~L~S�~@ �~K~\�~^~Q { -->
<section id="bo_vc">
    <h2>�~L~S�~@목�~]</h2>
    <?php
    $cmt_amt = count($list);
    for ($i=0; $i<$cmt_amt; $i++) {
        $comment_id = $list[$i]['wr_id'];
        $cmt_depth = ""; // �~L~S�~@�~K��~D
        $cmt_depth = strlen($list[$i]['wr_comment_reply']) * 20;
        $comment = $list[$i]['content'];
        /*
 

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트
l
7년 전

어디서 깨진다는 얘기인가요?

Shell 이라면 

1. 서버의 언어설정($LANG)
2. 클라이언트의 인코딩 설정
3. 클라이언트의 폰트

을 설정하시면 됩니다.

설정방법은 Google 에서..

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인