Monday, June 6, 2011

UTF-8 and the » character

Hi All,
I have the » character in a view file, and its not displaying correctly.
When its in the layout file, it displays correctly. When i put it in a view file, it doesn't display correctly!

I have done the following:
Added: <?php echo $html->charset(); ?> in the head of the layout file
Confirmed that: Configure::write('App.encoding', 'UTF-8'); is in the core.php file
My database.php has 'encoding' => 'utf8' in its default config array

regards,
Daniel.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: