mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 21:59:55 +09:00
Handle component_title as UTF-8 characterset
일부 서버 환경..(제 테스트 환경[닷홈 무료 호스팅])에서 기본 캐릭터 셋이 UTF-8이 아닌듯 합니다.. 글자가 깨져서 왜 그런가 원인을 찾다 보니 발견한 것입니다. 에디터에서 htmlentity 함수가 실행될 때 문자열 인코딩을 UTF-8로 인식하게 합니다. (대부분 기본값이 UTF-8이지만 일부 아닌 환경을 위하여..)
This commit is contained in:
parent
a85598a302
commit
beaa56f2b2
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@
|
|||
<!--@if($enable_component)-->
|
||||
{@ $xe_component = array(); }
|
||||
<!--@foreach($component_list as $component_name => $component)-->
|
||||
{@ $xe_component[] = $component_name . ":'" . htmlentities($component->title, ENT_QUOTES) . "'"; }
|
||||
{@ $xe_component[] = $component_name . ":'" . htmlentities($component->title, ENT_QUOTES, "UTF-8") . "'"; }
|
||||
<!--@endforeach-->
|
||||
{@ $xe_component = implode(',', $xe_component); }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue