묻고답하기
게시글검색시 한글 오류....����이라고 떠요!
2013.11.05 14:34
게시글을 한글로 검색 시 알수 없는 문자가 뜨며 글검색이 되질 않습니다.
영문이나 숫자는 검색이 아주 잘 됩니다만 한글일 때만 유독 이상한 문자로 바뀌며 검색이 되질 않습니다.
xe버전은 1.5.3.8 입니다.
아래 그림1처럼 공문이라고 검색을 하면
아래 그림2처럼 이상한 문자가 뜨며 검색이 되질 않습니다.
<그림1>
<그림2>
혹시 이것을 해결할 수 있는 방법이 있을까요?
의심되는 것은 index.html을 xe가 표시되지 않게 하기 위해 index.php 로 저장한건데...
거기 소스는
<?php
/**
* @file index.php
* @author NHN (developers@xpressengine.com)
* @brief Start page
*
* Find and create module object by mif, act in Request Argument \n
* Set module information
*
* @mainpage XpressEngine
* @section intro introduction
* XE is an opensource and being developed in the opensource project. \N
* For more information, please see the link below.
* - Official website: http://www.xpressengine.com(korean), http://www.xpressengine.org(english)
* - SVN Repository: http://xe-core.googlecode.com/svn/
* \n
* "XpressEngine (XE)" is free software; you can redistribute it and/or \n
* modify it under the terms of the GNU Lesser General Public \n
* License as published by the Free Software Foundation; either \n
* version 2.1 of the License, or (at your option) any later version. \n
* \n
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* \n
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
**/
/**
* @brief Declare constants for generic use and for checking to avoid a direct call from the Web
**/
define('__XE__', TRUE);
define('__ZBXE__', TRUE); // deprecated : __ZBXE__ will be removed. Use __XE__ instead.
/**
* @brief Include the necessary configuration files
**/
require dirname(__FILE__) . '/config/config.inc.php';
/**
* @brief Initialize by creating Context object
* Set all Request Argument/Environment variables
**/
$oContext = &Context::getInstance();
$oContext->init();
/**
* @brief If default_url is set and it is different from the current url, attempt to redirect for SSO authentication and then process the module
**/
if($oContext->checkSSO())
{
$oModuleHandler = new ModuleHandler();
if($oModuleHandler->init())
{
$oModule = &$oModuleHandler->procModule();
$oModuleHandler->displayContent($oModule);
}
}
$oContext->close();
/* End of file index.php */
/* Location: ./index.php */
index.php 파일의 코드를 UTF-8로 다시 변환시켜 보세요.