• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂2435fb5259035b3918a633a47a5d8d0602ba6b8f (tree)
時間2014-12-04 03:18:16
作者umorigu <umorigu@gmai...>
Commiterumorigu

Log Message

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.

Change Summary

差異

--- a/lib/init.php
+++ b/lib/init.php
@@ -71,13 +71,13 @@ if ($die) die_message(nl2br("\n\n" . $die));
7171 switch (LANG){
7272 case 'en': define('MB_LANGUAGE', 'English' ); break;
7373 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
7777 default: die_message('No such language "' . LANG . '"'); break;
7878 }
7979
80-define('PKWK_UTF8_ENABLE', 1);
80+define('PKWK_UTF8_ENABLE', 1); //UTF-8 only
8181 if (defined('PKWK_UTF8_ENABLE')) {
8282 define('SOURCE_ENCODING', 'UTF-8');
8383 define('CONTENT_CHARSET', 'UTF-8');