공통 URL 공백제거 및 다음 쇼핑하우 출력 charset euc-kr 로 변경

This commit is contained in:
SIR
2014-02-14 12:02:12 +09:00
parent 32f0f819dd
commit 73e428459e
3 changed files with 16 additions and 3 deletions

View File

@ -1,7 +1,10 @@
<?php
include_once('./_common.php');
ob_start();
header("Content-Type: text/html; charset=utf-8");
/*
@ -141,9 +144,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
HEREDOC;
}
$content = ob_get_contents();
ob_end_clean();
$content = iconv('utf-8', 'euc-kr', $content);
echo $content;
?>
?>

View File

@ -1,6 +1,8 @@
<?php
include_once('./_common.php');
ob_start();
header("Content-Type: text/html; charset=utf-8");
/*
@ -201,4 +203,12 @@ HEREDOC;
}
}
}
$content = ob_get_contents();
ob_end_clean();
// 131227 : 쇼핑하우에서는 아직 utf-8 을 지원하지 않고 있음
$content = iconv('utf-8', 'euc-kr', $content);
echo $content;
?>