[wp-trac] [WordPress Trac] #32204: Problem with UTF8 charset

WordPress Trac noreply at wordpress.org
Thu Apr 30 09:38:12 UTC 2015


#32204: Problem with UTF8 charset
--------------------------+--------------------
 Reporter:  kukihn        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.2.2
Component:  Database      |     Version:  4.2.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------
Changes (by SergeyBiryukov):

 * component:  General => Database
 * milestone:  Awaiting Review => 4.2.2


Old description:

> After update from WP 4.1.4 to 4.1.2 at PHP 5.5.0. I got this error:
>
> Warning: preg_replace(): Compilation failed: repeated subpattern is too
> long at offset 592 in /home/www/xxxxxx/html/www.xxxxxx.com/blog/wp-
> includes/wp-db.php on line 2640
>
> I found a workaround here:
> http://forum.wpde.org/installation/142182-nach-update-auf-4-2-1-keine-
> umlaute-mehr-speicherbar-2.html#post614130
>
> After disabling this line in wp-db.php it is working again.
>
> // $value['value'] = preg_replace( $regex, '$1', $value['value'] );
> continue;
> }
>
> Kind regards,
> Marcus

New description:

 After update from WP 4.1.4 to 4.1.2 at PHP 5.5.0. I got this error:

 Warning: preg_replace(): Compilation failed: repeated subpattern is too
 long at offset 592 in /home/www/xxxxxx/html/www.xxxxxx.com/blog/wp-
 includes/wp-db.php on line 2640

 I found a workaround here:
 http://forum.wpde.org/installation/142182-nach-update-auf-4-2-1-keine-
 umlaute-mehr-speicherbar-2.html#post614130

 After disabling this line in wp-db.php it is working again.
 {{{
 // $value['value'] = preg_replace( $regex, '$1', $value['value'] );
 continue;
 }
 }}}

 Kind regards,
 Marcus

--

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32204#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list