Changeset 456

Show
Ignore:
Timestamp:
09/01/2007 03:13:26 AM (14 months ago)
Author:
Geert
Message:
  • Fixed check for UTF-8 support in PCRE
  • Added mbstring as optional requirement to the UG
Location:
trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/user_guide/views/user_guide/content/kohana/requirements.php

    r447 r456  
    2222     3. Postgres 
    2323 
     242. The [mbstring](http://php.net/mbstring) extension. 
     25    * It will speed up the utf8 class 
     26    * However it must *not* be overloading the original string functions 
     27 
    2428 
    2529*[HTTP]: Hyper Text Transfer Protocol 
  • trunk/system/core/utf8.php

    r447 r456  
    2727 * - The mbstring extension is highly recommended but must not be overloading string functions. 
    2828 */ 
    29 if (preg_match('/^.{1}/u', 'ñ') !== 1) 
     29if (preg_match('/^.$/u', 'ñ') !== 1) 
    3030{ 
    3131        trigger_error 
  • trunk/system/libraries/URI.php

    r453 r456  
    2222         * 
    2323         * @access      public 
    24          * @param   integer 
    25          * @param   boolean 
     24         * @param       integer 
     25         * @param       boolean 
    2626         * @return      array 
    2727         */