<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[TNF : Tatter Network Foundation forum - [자체해결]검색 기능에 한글이 깨질 경우]]></title>
	<link rel="self" href="http://forum.tattersite.com/ko/extern.php?action=feed&amp;tid=10424&amp;type=atom"/>
	<updated>2011-03-02T14:45:02Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.tattersite.com/ko/viewtopic.php?id=10424</id>
		<entry>
			<title type="html"><![CDATA[RSS 답글: [자체해결]검색 기능에 한글이 깨질 경우]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=40321#p40321"/>
			<content type="html"><![CDATA[<p>더 간단한 방법이 있었군요. ^^</p><p>감사감사.</p>]]></content>
			<author>
				<name><![CDATA[oprix]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=4518</uri>
			</author>
			<updated>2011-03-02T14:45:02Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=40321#p40321</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[RSS 답글: [자체해결]검색 기능에 한글이 깨질 경우]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=40309#p40309"/>
			<content type="html"><![CDATA[<p>일반적인 한글 검색이 안되는 경우, 아래의 문서로도 작업이 가능합니다.<br /><a href="http://forum.tattersite.com/ko/viewtopic.php?id=5333">http://forum.tattersite.com/ko/viewtopic.php?id=5333</a></p>]]></content>
			<author>
				<name><![CDATA[LonnieNa]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=9</uri>
			</author>
			<updated>2011-03-01T23:15:30Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=40309#p40309</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[[자체해결]검색 기능에 한글이 깨질 경우]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=40306#p40306"/>
			<content type="html"><![CDATA[<p>최근에 euc_kr 서버에서 utf-8 웹 호스팅 서버로 갈아탔습니다.</p><p>DB 인코딩은 DB 백업한 걸 업로드 하면서 변경을 해서 별 문제가 없는데</p><p>검색할 때 글자가 깨져서 검색을 못 하더군요.</p><p>아마도 인코딩 문제라고 생각돼서 검색 부분 소스를 봤더니 인코딩 부분이 빠진 거 같아 나름대로 </p><p>blog/interface/blog/search.php 파일에</p><p>----수정 전-------------------------------------------------------------------------------------------------</p><p>$search = isset($_GET[&#039;search&#039;]) ? $_GET[&#039;search&#039;] : $suri[&#039;value&#039;];<br />$search = isset($_GET[&#039;q&#039;]) ? $_GET[&#039;q&#039;] : $search; // Consider the common search query GET name. (for compatibility)</p><p>$list = array(&#039;title&#039; =&gt; &#039;&#039;, &#039;items&#039; =&gt; array(), &#039;count&#039; =&gt; 0);<br />----------------------------------------------------------------------------------------------------------</p><p>----수정 후-------------------------------------------------------------------------------------------------</p><p>$search = isset($_GET[&#039;search&#039;]) ? $_GET[&#039;search&#039;] : $suri[&#039;value&#039;];<br />$search = isset($_GET[&#039;q&#039;]) ? $_GET[&#039;q&#039;] : $search; // Consider the common search query GET name. (for compatibility)</p><p><strong># UTF-8 Encoding<br />$search = iconv(&quot;EUC-KR&quot;,&quot;UTF-8&quot;, $search);<br /></strong>$list = array(&#039;title&#039; =&gt; &#039;&#039;, &#039;items&#039; =&gt; array(), &#039;count&#039; =&gt; 0);<br />------------------------------------------------------------------------------------------------------------</p><p>이렇게 수정하니 검색도 이제 잘 되네요.</p><p>제 홈페이지에는 맞게 된 거 같은데 다른 분들은 어떨지.. 참고하세요.</p>]]></content>
			<author>
				<name><![CDATA[oprix]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=4518</uri>
			</author>
			<updated>2011-03-01T14:20:32Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=40306#p40306</id>
		</entry>
</feed>
