I am able to create a topbar with serbian text staying the same. The text I used was:
“Добро дошли на моју интернет презентацију.”
What UTF encoding is your database in?
(To find out, use the WP System Health plugin. After activating it, go to the database tab — if you are having issues loading that tab then look in the address bar at the right end should be a ‘shield’ icon, you can click on that to and load the “insecure content” — see http://productforums.google.com/forum/#!topic/chrome/OrwppKWbKnc).
You should see a Charset (DB_CHARSET) heading. Does it say “utf8”?
Bob
Thread Starter
zpop
(@zpop)
Charset (DB_CHARSET) is utf8.
In your wp-config.php, do you have these parameters set?
/** Database Charset to use in creating database tables. */
define(‘DB_CHARSET’, ‘utf8’);
/** The Database Collate type. Don’t change this if in doubt. */
define(‘DB_COLLATE’, ”);
Bob
Thread Starter
zpop
(@zpop)
wp-config.php is ok.
http://stackoverflow.com/questions/11024604/utf8-characters-not-showing-correctly-in-wordpress
This is help me to figure out where is the problem.
In phpMyAdmin go to “wp_topbar_data”. Then change “bar_text” and “bar_link_text” Collation from “latin1_swedish_ci” to “utf8_general_ci”.
Change the collation on a MySQL database via PhpMyAdmin
http://www.hosting.com/support/mysql/change-the-collation-on-a-mysql-database-via-phpmyadmin
Glad you got it worked out! I may need to add to the Debug page a report that checks the encoding of the database.
Bob