Changeset 21886
- Timestamp:
- 2012/06/04 13:12:02 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/helper/SC_Helper_Transform.php
r21829 r21886 62 62 $this->search_depth = 0; 63 63 64 if (!in_array(mb_detect_encoding($source), array('ASCII', 'UTF-8'))) { 65 SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', true, 'テンプレートの文字コードがUTF-8ではありません'); 64 $encoding = mb_detect_encoding($source); 65 if (!in_array($encoding, array('ASCII', 'UTF-8'))) { 66 $msg = 'テンプレートの文字コードが「' . $encoding . '」です。UTF-8 のみ利用できます。'; 67 SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', true, $msg); 66 68 } 67 69
Note: See TracChangeset
for help on using the changeset viewer.