i want to display all character in my website using utf-8. but i am getting invalid character echo "ВопроÑÑ‹ и ответы"; PHP: output ??????? ? ?????? HTML: please help
still not working. its a problem with internal php multibyte string (mbstring). i don't know how to configure it.
Its the problem with your php file editor. I think you are using Notepad or Wordpad. (Just close the php file and open it you will see the fact) Try it using PSPad
Those 3 should work for you: 1 - In your text editor make sure that you save the file as utf-8 2 - use the php header function (make sure it's not overidden in your script or CMS): header('Content-type: text/html; charset=utf-8'); PHP: 3 - Use the http-equive meta tag: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> HTML: