OSDN Git Service

- added mb_regex_encoding. it's default value is $this->client_encoding.
authormumumu-org <mumumu-org@2ef88817-412d-0410-a32c-8029a115e976>
Fri, 23 May 2008 16:39:29 +0000 (16:39 +0000)
committermumumu-org <mumumu-org@2ef88817-412d-0410-a32c-8029a115e976>
Fri, 23 May 2008 16:39:29 +0000 (16:39 +0000)
class/Ethna_Controller.php

index 8bf6307..48156d9 100644 (file)
@@ -236,15 +236,14 @@ class Ethna_Controller
             }
         }
 
-        //
         // 初期設定
         // フレームワークとしての内部エンコーディングはクライアント
         // エンコーディング(=ブラウザからのエンコーディング)
         //
         // @see Ethna_Controller#_getDefaultLanguage
-        //
         list($this->locale, $this->system_encoding, $this->client_encoding) = $this->_getDefaultLanguage();
         mb_internal_encoding($this->client_encoding);
+        mb_regex_encoding($this->client_encoding);
 
         $this->config =& $this->getConfig();
         $this->dsn = $this->_prepareDSN();