characters issue with my wordpress theme

I creat new customize theme for wordpress and all things was right, just when I upload it on host my characters changed to something like نوشته‌های تازه.
I use meta charset=”UTF-8″ in my php code, and I use this query in phpmyadmin: SET NAMES UTF8;
http://maideh.ir/issue/ –> its my uploaded theme!
can any one help me?
(excuse me for my poor english language;-))

Related posts

Leave a Reply

2 comments

  1. make sure that your host characters are in utf-8, your document charset type is also utf-8.
    using

    mysql_query('set names utf8')

    brefore you query the database. for example

    mysql_query(‘set names utf8’);

    mysql_query(’select * from table’)