최신글에 癤� 같은 이상한 글자는 어떻게 지우나요 정보
최신글에 癤� 같은 이상한 글자는 어떻게 지우나요본문
최신글에 사진첩 위에 癤� 이런 글씨가 갑자기 생겼는데 아시는 분들 좀 도와주세요
html자체에는 문제가 없고
최신글 php소스를 다른 위치 붙이면 이상한 한자가 따라 붙습니다.
http://www.peacetown.or.kr
latest.skin을 다른걸로 바꾸면 한자가 나타나지 않은걸 보면 최신글 스킨에 문제인것 같은데
아무리 봐도 모르겠어요,
중요한건 다른 사이트에다가 쓰면 이상한 한자가 안나타납니다
<?
if (!defined("_GNUBOARD_")) exit; //
?><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0" id="table1">
<tr height="1">
<td width="2" colspan="3" ></td>
</tr>
<tr height="1">
<td colspan="3"></td>
</tr>
</table>
<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0" id="table6">
<tr height="5"><td width="1" height="3"></td>
<td colspan="2" height="3"></td>
<td width="1" bgcolor="#d9d9d9" height="3"></td></tr>
<? for ($i=0; $i<count($list); $i++) {?>
<tr>
<td width="1"></td>
<td width="5"></td>
<td height="21">
<table width=100% cellpadding=0 cellspacing=0 style="border-collapse:collapse;" style="border-top-width:0; border-right-width:0; border-bottom-width:0; border-left-width:0; border-top-color:rgb(181,181,181); border-right-colorrgb(181,181,181); border-bottom-color:rgb(181,181,181); border-left-color:rgb(181,181,181); border-style:solid;" id="table7">
<colgroup width=14>
<colgroup>
<colgroup width=37>
<colgroup width=14>
<tr>
<td width="100%" style="border-width:0; border-color:black; border-style:solid;">
<table width=0 border=0 id="table8">
<tr>
<?
for ($i=0; $i<count($list); $i++)
{
if ($i > 0)
echo '';
$title = get_text($list[$i][wr_subject]);
$content = cut_str(get_text($list[$i][wr_content]), 80);
$img = "$g4[path]/data/file/$bo_table/".urlencode($list[$i][file][0][file]);
if (!file_exists($img) || !$list[$i][file][0][file])
$img = "$latest_skin_path/img/no_image.gif";
$href = "$g4[bbs_path]/board.php?bo_table=$bo_table";
echo <<<HEREDOC
<td width='0' valign='top' align=''>
<table border="0" id="table2" cellspacing="0" cellpadding="0">
<tr>
<td>
<table border="0" id="table3" cellspacing="1" bgcolor="#DFDAC8">
<tr>
<td bgcolor="#FFFFFF">
<a href="{$list[$i][href]}">
<img style="FILTER: alpha(opacity=100)" onmouseover="this.style.filter = 'alpha(opacity=50)';" onmouseout="this.style.filter='none';" border="0" src="{$img}" width="122" height="106"></a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
HEREDOC;
}
?>
</tr>
</table>
<? if (count($list) == 0) { ?>아직없음.<? } ?></tr></table>
</td>
<!--게시물 추출 글자 설정 끝-->
<td width="1"></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><? } ?>
<tr height="5"><td width="1" height="3"></td>
<td colspan="2" height="3"></td>
<td width="1" height="3"></td></tr>
<tr height="1">
<td colspan="4"></td>
</tr>
</table>
html자체에는 문제가 없고
최신글 php소스를 다른 위치 붙이면 이상한 한자가 따라 붙습니다.
http://www.peacetown.or.kr
latest.skin을 다른걸로 바꾸면 한자가 나타나지 않은걸 보면 최신글 스킨에 문제인것 같은데
아무리 봐도 모르겠어요,
중요한건 다른 사이트에다가 쓰면 이상한 한자가 안나타납니다
<?
if (!defined("_GNUBOARD_")) exit; //
?><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0" id="table1">
<tr height="1">
<td width="2" colspan="3" ></td>
</tr>
<tr height="1">
<td colspan="3"></td>
</tr>
</table>
<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0" id="table6">
<tr height="5"><td width="1" height="3"></td>
<td colspan="2" height="3"></td>
<td width="1" bgcolor="#d9d9d9" height="3"></td></tr>
<? for ($i=0; $i<count($list); $i++) {?>
<tr>
<td width="1"></td>
<td width="5"></td>
<td height="21">
<table width=100% cellpadding=0 cellspacing=0 style="border-collapse:collapse;" style="border-top-width:0; border-right-width:0; border-bottom-width:0; border-left-width:0; border-top-color:rgb(181,181,181); border-right-colorrgb(181,181,181); border-bottom-color:rgb(181,181,181); border-left-color:rgb(181,181,181); border-style:solid;" id="table7">
<colgroup width=14>
<colgroup>
<colgroup width=37>
<colgroup width=14>
<tr>
<td width="100%" style="border-width:0; border-color:black; border-style:solid;">
<table width=0 border=0 id="table8">
<tr>
<?
for ($i=0; $i<count($list); $i++)
{
if ($i > 0)
echo '';
$title = get_text($list[$i][wr_subject]);
$content = cut_str(get_text($list[$i][wr_content]), 80);
$img = "$g4[path]/data/file/$bo_table/".urlencode($list[$i][file][0][file]);
if (!file_exists($img) || !$list[$i][file][0][file])
$img = "$latest_skin_path/img/no_image.gif";
$href = "$g4[bbs_path]/board.php?bo_table=$bo_table";
echo <<<HEREDOC
<td width='0' valign='top' align=''>
<table border="0" id="table2" cellspacing="0" cellpadding="0">
<tr>
<td>
<table border="0" id="table3" cellspacing="1" bgcolor="#DFDAC8">
<tr>
<td bgcolor="#FFFFFF">
<a href="{$list[$i][href]}">
<img style="FILTER: alpha(opacity=100)" onmouseover="this.style.filter = 'alpha(opacity=50)';" onmouseout="this.style.filter='none';" border="0" src="{$img}" width="122" height="106"></a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
HEREDOC;
}
?>
</tr>
</table>
<? if (count($list) == 0) { ?>아직없음.<? } ?></tr></table>
</td>
<!--게시물 추출 글자 설정 끝-->
<td width="1"></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><? } ?>
<tr height="5"><td width="1" height="3"></td>
<td colspan="2" height="3"></td>
<td width="1" height="3"></td></tr>
<tr height="1">
<td colspan="4"></td>
</tr>
</table>
댓글 전체
언어셋변경해주세요~
변경했는데도 마찬가지에요~ ㅠ
파일저장할때 UTF-8로하셨나요?????
까아투리님,
그러고보니 메모장에서 계속 utf-8로 하고 있었네요
감사,,
해결됐어요
그러고보니 메모장에서 계속 utf-8로 하고 있었네요
감사,,
해결됐어요