인

아이프레임으로 최신 게시물을 땡겨올 때 한글이 깨지네요..

안녕하세요..

아이프레임을 사용해서, 최신 게시물을 땡겨 왔는데요..

글자가 "07/09/�� 16:13 �з�����-����-" 이런식으로 깨져 버리네요ㅠ

도대체 어디가 잘못 된걸까요?ㅠㅠ


일단은.... euc-kr 이구요..

1) config.php에서는 케릭터를 euc-kr로 변경도 해보고 없애도 봤는데 별 차이 없더라구요..

아이프레임 땡겨올 때의 방법 입니다..

<iframe src="tap01_iframe.php" name="down" width="355" height="185" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>

이렇게 index.php에서 땡겨 왔구요..

다음은 tap01_iframe.php 파일입니다..

<?
include_once("./_common.php");
include_once("./config.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<?=latest("bd02", "bd02", 5, 38>
</body>
</html>

이구요..

lastest.skin.php 파일입니다..

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td height="5"></td>
</tr>
</table>
<table width=100% height=150 cellpadding=0 cellspacing=0 background="<?=$latest_skin_path?>/img/bg.jpg">
<tr>
<td height="20"></td>
</tr>
<tr><td valign="top">
<? for ($i=0; $i<count($list); $i++) { ?>
<table width=95% height=23 border="0" cellpadding="0" cellspacing="0">
<tr>
<td height=23>   <img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>  
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i]['subject']}</font>";
echo "</a>";

if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i]['comment_cnt']}</span></a>";

// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }

echo " " . $list[$i]['icon_new'];
echo " " . $list[$i]['icon_file'];
echo " " . $list[$i]['icon_link'];
echo " " . $list[$i]['icon_hot'];
echo " " . $list[$i]['icon_secret'];
?></td>
</tr>
</table>
<? } ?>
<? if (count($list) == 0) { ?>
<? } ?>
</td></tr>
</table>



휴.... 정말 도대체 모르겠네요ㅠㅠ 4시간 동안 붙잡다가 안풀려서 이렇게 글 남깁니다....

댓글 2개

해당 웹페이지 주소를 주시면 보다 빠른 답변을 드릴 수 있을텐데..

일단 상단에 이걸 추가해 보세요.

<meta http-equiv="content-type" content="text/html; charset=euc-kr">
쪽지 확인하세요...
댓글을 작성하시려면 로그인이 필요합니다.

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
10-07-13 조회 1,804
10-07-13 조회 1,175
10-07-13 조회 1,607
10-07-12 조회 1,611
10-07-12 조회 1,617
10-07-12 조회 1,649
10-07-12 조회 1,296
10-07-12 조회 1,502
10-07-12 조회 1,628
10-07-12 조회 1,205
10-07-12 조회 1,606
10-07-12 조회 1,685
10-07-12 조회 1,794
10-07-12 조회 1,298
10-07-12 조회 1,657
10-07-12 조회 1,652
10-07-12 조회 1,168
10-07-12 조회 1,732
10-07-12 조회 5,457
10-07-12 조회 1,644