修訂 | 2435fb5259035b3918a633a47a5d8d0602ba6b8f (tree) |
---|---|
時間 | 2014-12-04 03:18:16 |
作者 | umorigu <umorigu@gmai...> |
Commiter | umorigu |
Support UTF-8 only functions
The UTF-8 only function lines has '//UTF-8 only' trailing comment.
PukiWiki release deploy script would comment out these lines
for EUC-JP dist packages.
@@ -71,13 +71,13 @@ if ($die) die_message(nl2br("\n\n" . $die)); | ||
71 | 71 | switch (LANG){ |
72 | 72 | case 'en': define('MB_LANGUAGE', 'English' ); break; |
73 | 73 | case 'ja': define('MB_LANGUAGE', 'Japanese'); break; |
74 | -case 'ko': define('MB_LANGUAGE', 'Korean' ); break; | |
75 | - // See BugTrack2/13 for all hack about Korean support, | |
76 | - // and give us your report! | |
74 | +case 'ko': define('MB_LANGUAGE', 'Korean' ); break; //UTF-8 only | |
75 | + // See BugTrack2/13 for all hack about Korean support, //UTF-8 only | |
76 | + // and give us your report! //UTF-8 only | |
77 | 77 | default: die_message('No such language "' . LANG . '"'); break; |
78 | 78 | } |
79 | 79 | |
80 | -define('PKWK_UTF8_ENABLE', 1); | |
80 | +define('PKWK_UTF8_ENABLE', 1); //UTF-8 only | |
81 | 81 | if (defined('PKWK_UTF8_ENABLE')) { |
82 | 82 | define('SOURCE_ENCODING', 'UTF-8'); |
83 | 83 | define('CONTENT_CHARSET', 'UTF-8'); |