i guess your two files are encoded differently
its very important that you save your view and layout files UTF8
encoded if you use any special chars in them
my guess: only the layout is properly saved

On 6 Jun., 14:20, Okalany Daniel <dokala...@gmail.com> wrote:
> 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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to