euc-kr xml을 질의 후 utf-8로 출력
$words = ($HTTP_GET_VARS[keyword])?$HTTP_GET_VARS[keyword]:'news'; $ip = ""; $xfip = $_SERVER[REMOTE_ADDR]; $ua = $_SERVER[HTTP_USER_AGENT]; $sponser_url = "http://xml.kr.xxxxx.com/d/search/p/standard/xml/kr/spm2/mods/kk/?Keywords="; $sponser_url .= urlencode(iconv('utf-8','euc-kr', $words)); // euc-kr 질의 $sponser_url .= "&Partner=xxxxx&maxCount=5&bolding=true&adultFilter=clean&keywordCharEnc=eu..