php - Unicode Characters issue in Cakephp and Mysql -
I have a site that was implemented for my customer in Cakephp 2 years ago. At that time I was not aware that this site will be used worldwide. Special characters of different countries have been used on the site. At that time the cakepip Now when we try to download CSV these characters have caused problems and did not appear correctly in CSV. "text"> You have to ensure 3 things - utf8 option was not enabled and characters are saved in encoded form such as
?? In the database.
1 'encoding' = & gt; Enable 'utf8', 'Database Settings' on database settings on 'app / config / database.php` 2. Table column collation should be set to' utf8_general_ci 'or' utf8_unicode_ci`. 3. The HTL page character set must be set as `utf-8`
Comments
Post a Comment