한글깨짐현상.... 정보
한글깨짐현상....본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : http://ddabang.woobi.co.kr/
아래는 소스입니다.
그리고 그누보드경로는 ./www/gnuboard4 입니다.
고수님들 확인좀 부탁드리겠습니다.
-------------------------------------------------------------
<?
$g4_path = "./gnuboard4";
include_once("$g4_path/common.php");
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>따봉!!!따방!!넷</title>
<meta name="generator" content="Namo WebEditor">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
<table width="100%" cellpadding="0" cellspacing="0" height="34">
<tr>
<td height="34" width="100%" background="img/u_bg.JPG">
<table width="970" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="1217">시작페이지ㅣ즐겨찾기</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="970" cellpadding="0" cellspacing="0" height="812" align="center">
<tr>
<td width="933" height="90" colspan="2">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="300">
<p align="center">광고</p>
</td>
<td width="370">
<p align="center"><a href="index.php"><img src="img/logo01.jpg" width="300" height="153" border="0"></a></p>
</td>
<td width="300">
<p align="center">검색엔진</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="933" height="32" colspan="2" bgcolor="#90B990">
<p align="center">메뉴</p>
</td>
</tr>
<tr>
<td width="933" height="6" colspan="2" bordercolor="white" bgcolor="#CCCCCC">
<p align="center"> </p>
</td>
</tr>
<tr>
<td width="670" height="613" valign="top">
<table width="670" cellpadding="0" cellspacing="0" height="52">
<tr>
<td width="330" height="16" valign="top">
<p align="center"> </p>
</td>
<td width="10" height="16" valign="top"> </td>
<td width="330" height="16" valign="top">
<p align="center"> </p>
</td>
</tr>
<tr>
<td width="330" valign="top">
<p align="center"><?=latest("latest_nomalB", "01", 7, 20);?></p>
</td>
<td width="10" valign="top"> </td>
<td width="330" valign="top">
<p align="center"><?=latest("latest_nomalB", "01", 7, 20);?></p>
</td>
</tr>
<tr>
<td width="330" height="8" valign="top"> </td>
<td width="10" height="8" valign="top"> </td>
<td width="330" height="8" valign="top"> </td>
</tr>
<tr>
<td width="330" valign="top">
<p align="center"><?=latest("latest_nomalB", "01", 7, 20);?></p>
</td>
<td width="10" valign="top"> </td>
<td width="330" valign="top">
<p align="center"><?=latest("latest_nomalB", "01", 7, 20);?></p>
</td>
</tr>
<tr>
<td width="330" height="5" valign="top"> </td>
<td width="10" height="5" valign="top"> </td>
<td width="330" height="5" valign="top"> </td>
</tr>
<tr>
<td width="330" height="10" valign="top">
<p align="center"><?=latest("latest_nomalB", "01", 7, 20);?></p>
</td>
<td width="10" height="10" valign="top"> </td>
<td width="330" height="10" valign="top">
<p align="center"><?=latest("latest_nomalB", "01", 7, 20);?></p>
</td>
</tr>
<tr>
<td width="330" height="6" valign="top"> </td>
<td width="10" height="6" valign="top"> </td>
<td width="330" height="6" valign="top"> </td>
</tr>
<tr>
<td width="330" height="10" valign="top">
<p align="center"><?=latest("latest_nomalB", "01", 7, 20);?></p>
</td>
<td width="10" height="10" valign="top">
<p align="center"> </p>
</td>
<td width="330" height="10" valign="top">
<p align="center"><?=latest("latest_nomalB", "01", 7, 20);?></p>
</td>
</tr>
<tr>
<td width="330" height="8" valign="top"> </td>
<td width="10" height="8" valign="top"> </td>
<td width="330" height="8" valign="top"> </td>
</tr>
</table>
</td>
<td width="300" height="613" valign="top" align="right">
<table width="280" cellpadding="0" cellspacing="0" bgcolor="#ECECEC" height="100%">
<tr>
<td width="290" valign="top" height="104" align="center">
<p align="center"><?=outlogin("basic")?>
</p>
</td>
</tr>
<tr>
<td width="290" valign="top" height="14">
<p align="center">
</p>
</td>
</tr>
<tr>
<td width="290" height="240" valign="top">
<p align="center">광고</p>
</td>
</tr>
<tr>
<td width="290" valign="top" bgcolor="white">
<p align="center">
</p>
</td>
</tr>
<tr>
<td width="290" height="232" valign="top" bgcolor="white">
<p align="center">
</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="59" background="img/bg_contents.gif" colspan="2">
<DIV id=footer>
<DIV class=copyright>
<p align="center"><font face="돋움" color="silver">Copyright ©</font><font face="돋움"> </font><STRONG><font face="돋움" color="#FF5500">ddabang</font></STRONG><font face="돋움" color="silver">. <SPAN>All Rights Reserved.</SPAN></font></p>
</DIV>
</DIV>
</td>
</tr>
</table>
<p style="margin-right:0px; margin-left:0px;"> </p>
</body>
</html>
오류 주소 : http://ddabang.woobi.co.kr/
아래는 소스입니다.
그리고 그누보드경로는 ./www/gnuboard4 입니다.
고수님들 확인좀 부탁드리겠습니다.
-------------------------------------------------------------
<?
$g4_path = "./gnuboard4";
include_once("$g4_path/common.php");
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>따봉!!!따방!!넷</title>
<meta name="generator" content="Namo WebEditor">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
<table width="100%" cellpadding="0" cellspacing="0" height="34">
<tr>
<td height="34" width="100%" background="img/u_bg.JPG">
<table width="970" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="1217">시작페이지ㅣ즐겨찾기</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="970" cellpadding="0" cellspacing="0" height="812" align="center">
<tr>
<td width="933" height="90" colspan="2">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="300">
<p align="center">광고</p>
</td>
<td width="370">
<p align="center"><a href="index.php"><img src="img/logo01.jpg" width="300" height="153" border="0"></a></p>
</td>
<td width="300">
<p align="center">검색엔진</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="933" height="32" colspan="2" bgcolor="#90B990">
<p align="center">메뉴</p>
</td>
</tr>
<tr>
<td width="933" height="6" colspan="2" bordercolor="white" bgcolor="#CCCCCC">
<p align="center"> </p>
</td>
</tr>
<tr>
<td width="670" height="613" valign="top">
<table width="670" cellpadding="0" cellspacing="0" height="52">
<tr>
<td width="330" height="16" valign="top">
<p align="center"> </p>
</td>
<td width="10" height="16" valign="top"> </td>
<td width="330" height="16" valign="top">
<p align="center"> </p>
</td>
</tr>
<tr>
<td width="330" valign="top">
<p align="center"><?=latest("latest_nomalB", "01", 7, 20);?></p>
</td>
<td width="10" valign="top"> </td>
<td width="330" valign="top">
<p align="center"><?=latest("latest_nomalB", "01", 7, 20);?></p>
</td>
</tr>
<tr>
<td width="330" height="8" valign="top"> </td>
<td width="10" height="8" valign="top"> </td>
<td width="330" height="8" valign="top"> </td>
</tr>
<tr>
<td width="330" valign="top">
<p align="center"><?=latest("latest_nomalB", "01", 7, 20);?></p>
</td>
<td width="10" valign="top"> </td>
<td width="330" valign="top">
<p align="center"><?=latest("latest_nomalB", "01", 7, 20);?></p>
</td>
</tr>
<tr>
<td width="330" height="5" valign="top"> </td>
<td width="10" height="5" valign="top"> </td>
<td width="330" height="5" valign="top"> </td>
</tr>
<tr>
<td width="330" height="10" valign="top">
<p align="center"><?=latest("latest_nomalB", "01", 7, 20);?></p>
</td>
<td width="10" height="10" valign="top"> </td>
<td width="330" height="10" valign="top">
<p align="center"><?=latest("latest_nomalB", "01", 7, 20);?></p>
</td>
</tr>
<tr>
<td width="330" height="6" valign="top"> </td>
<td width="10" height="6" valign="top"> </td>
<td width="330" height="6" valign="top"> </td>
</tr>
<tr>
<td width="330" height="10" valign="top">
<p align="center"><?=latest("latest_nomalB", "01", 7, 20);?></p>
</td>
<td width="10" height="10" valign="top">
<p align="center"> </p>
</td>
<td width="330" height="10" valign="top">
<p align="center"><?=latest("latest_nomalB", "01", 7, 20);?></p>
</td>
</tr>
<tr>
<td width="330" height="8" valign="top"> </td>
<td width="10" height="8" valign="top"> </td>
<td width="330" height="8" valign="top"> </td>
</tr>
</table>
</td>
<td width="300" height="613" valign="top" align="right">
<table width="280" cellpadding="0" cellspacing="0" bgcolor="#ECECEC" height="100%">
<tr>
<td width="290" valign="top" height="104" align="center">
<p align="center"><?=outlogin("basic")?>
</p>
</td>
</tr>
<tr>
<td width="290" valign="top" height="14">
<p align="center">
</p>
</td>
</tr>
<tr>
<td width="290" height="240" valign="top">
<p align="center">광고</p>
</td>
</tr>
<tr>
<td width="290" valign="top" bgcolor="white">
<p align="center">
</p>
</td>
</tr>
<tr>
<td width="290" height="232" valign="top" bgcolor="white">
<p align="center">
</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="59" background="img/bg_contents.gif" colspan="2">
<DIV id=footer>
<DIV class=copyright>
<p align="center"><font face="돋움" color="silver">Copyright ©</font><font face="돋움"> </font><STRONG><font face="돋움" color="#FF5500">ddabang</font></STRONG><font face="돋움" color="silver">. <SPAN>All Rights Reserved.</SPAN></font></p>
</DIV>
</DIV>
</td>
</tr>
</table>
<p style="margin-right:0px; margin-left:0px;"> </p>
</body>
</html>
댓글 전체
언어셋 문제인듯 싶은데요~
사이트 소스보기 하니.. charset=utf-8 인데~ 코드 올려두신건 euc-kr로 되어 있군요^^
사이트 소스보기 하니.. charset=utf-8 인데~ 코드 올려두신건 euc-kr로 되어 있군요^^
코드를 charset=utf-8 로 변경하면 된다는 말씀이신가요???
파일 인코딩 문제 인 것 같은데요
파일을 저장할때 ansi가 아닌 utf-8로 다시 저장하시면 제대로 보일 겁니다.(인클루드 파일 전부)
파일을 저장할때 ansi가 아닌 utf-8로 다시 저장하시면 제대로 보일 겁니다.(인클루드 파일 전부)
그누보드 utf버전일 경우에 입니다.
그렇지 않고 euc-kr버전이라면 여러가지 조치를 더 취해야 할 수 있습니다.(db세팅부터 다시 해야 될 수도 있을겁니다.)
euc-kr 버전이라면 홈페이지 소스에서 charset=euc-kr 그대로 두시구 파일 인코딩을 ansi로 맞추면 될겁니다.
그렇지 않고 euc-kr버전이라면 여러가지 조치를 더 취해야 할 수 있습니다.(db세팅부터 다시 해야 될 수도 있을겁니다.)
euc-kr 버전이라면 홈페이지 소스에서 charset=euc-kr 그대로 두시구 파일 인코딩을 ansi로 맞추면 될겁니다.