Wednesday, May 16, 2012

Displaying spanish characters in Cakephp

I have a project with spanish characters, like (ñ,á) and Im using the 'ñ' character in one model.
then I had to change the collation and charset to utf-8.
I changed the default setting my.ini, httpd.conf, and php.ini



in my.ini i have this..



 **[mysqld]
port=3306
character_set_client='utf8'
character-set-server='utf8'
collation-server=utf8_general_ci**


the problem is when i try to use the console with cake bake...because i have a model named 'Dueños' with the (ñ) character and doesnt show properly
(with strange character like 'Due|-#os') and cant create the application with 'cake bake'





No comments:

Post a Comment