[wp-trac] [WordPress Trac] #32090: Bug: Can not update tables in non-wordpress-installation databases when the query contains non ASCII characters

WordPress Trac noreply at wordpress.org
Thu Apr 30 20:37:39 UTC 2015


#32090: Bug: Can not update tables in non-wordpress-installation databases when the
query contains non ASCII characters
--------------------------+--------------------
 Reporter:  willstedt     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.2.2
Component:  Database      |     Version:  4.1.2
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+--------------------

Comment (by JRGould):

 This bug is also experienced when executing a CREATE TABLE query where the
 field names or comments contain non-ascii characters. However, the dot fix
 doesn't seem like it would work in this scenario since the table doesn't
 exist in the database yet.

 Example query that fails due to wpdb_get_table_charset_failure:


 {{{
 CREATE TABLE IF NOT EXISTS `foo2` (
 `foo_id` int(11) NOT NULL COMMENT 'fübar'
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 }}}

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


More information about the wp-trac mailing list