[wp-trac] [WordPress Trac] #2942: Database tweaking and ".thumbnail" translation problems

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 13 14:04:15 GMT 2006


#2942: Database tweaking and ".thumbnail" translation problems
-----------------------+----------------------------------------------------
 Reporter:  vizualbod  |       Owner:  anonymous                                                   
     Type:  defect     |      Status:  new                                                         
 Priority:  normal     |   Milestone:  2.0.4                                                       
Component:  General    |     Version:  2.0.3                                                       
 Severity:  minor      |    Keywords:  utf8, latin1, database, thumbnail, translation, multilingual
-----------------------+----------------------------------------------------
 Translation of the string ".thumbnail" (part of the name of thumbnail
 picture) may cause problems (no thumbnails showing) when multibite
 character used in the translation. I spotted it in with slovak translation
 and database converted to UTF-8. I recommend this ".thumbnail" string not
 to be translatable or to filter multibite characters in the name of the
 thumbnail file in the process of their creation.

 Database in latin1 cause problems with some characters in slovak language,
 so I ever have export, convert all wrong chars to UTF-8, change all
 strings latin1 to utf8 and ad a line
 {{{
 mysql_query("set names utf8",$this->dbh);
 }}}
 to wp-db.php on line 74 to tell my database is in uft8.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2942>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list