아이프레임으로 최신 게시물을 땡겨올 때 한글이 깨지네요.. 정보
아이프레임으로 최신 게시물을 땡겨올 때 한글이 깨지네요..본문
안녕하세요..
아이프레임을 사용해서, 최신 게시물을 땡겨 왔는데요..
글자가 "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시간 동안 붙잡다가 안풀려서 이렇게 글 남깁니다....
아이프레임을 사용해서, 최신 게시물을 땡겨 왔는데요..
글자가 "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시간 동안 붙잡다가 안풀려서 이렇게 글 남깁니다....
댓글 전체
해당 웹페이지 주소를 주시면 보다 빠른 답변을 드릴 수 있을텐데..
일단 상단에 이걸 추가해 보세요.
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
일단 상단에 이걸 추가해 보세요.
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
쪽지 확인하세요...