[wp-trac] [WordPress Trac] #12251: mb_substr() works strangely in some environment.

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 25 13:42:12 UTC 2010


#12251: mb_substr() works strangely in some environment.
--------------------------+-------------------------------------------------
 Reporter:  Cyrus H.      |       Owner:  hakre
     Type:  defect (bug)  |      Status:  new  
 Priority:  high          |   Milestone:  2.9.3
Component:  Charset       |     Version:  2.9.2
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------
Changes (by toscho):

 * cc: toscho (added)


Comment:

 I’d rather see something [http://toscho.de/2009/zeichenkodierung-angeben
 /#toc-php like this] very early in WP:

 {{{
 if ( extension_loaded('mbstring') )
 {
     mb_internal_encoding('UTF-8');
     mb_language('uni');
 }
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12251#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list