I have some really strange problem. I have a MySQL database and a sample php page (I’m working with CakePHP if this information can help to solve the problem). When I select from the database and print the information on the screen I get something like – “??????”. The fields in the database are with collation “utf8_general_ci” like the whole tables and the whole database. The php/html document have “” and there are still “??????” what can I do to solve my problem and view the text in the language I want?
Share
Are you still adding a HTML charset?
In a config.php make sure that is properly encoding. In a config/database.php:
Or you are using standard latin encoding such as ISO-8859-1: