WHen you say you "retrieve the titles", from DB ?

Be sure to save the layout using UTF-8 (no BOM) if ever you store your
titles in a file

On Sep 3, 2:22 pm, Anna P <[EMAIL PROTECTED]> wrote:
> Hi! Anyone has an idea how to solve my problem?;-)
> I insert data to database using FCK editor, the data in DB looks OK.
> My DB has all the fields in UTF8, in database.php i set encoding =>
> 'UTF8', in app_model.php I have 'set names utf8'. In the views where I
> display subpages and it's titles everything is OK, the letters are
> correct.
> But in my layout I have a menu with links to all the subpages, as
> their titles. And the coding doesn't work. It gives me "???" for
> polish letters. I retrieve the titles of subpages in
> app_controller.php in function beforeRender. Shouldn't it work the
> same as for controllers for views? What's the matter with it, why
> doesn't it give me the results in correct encoding?
> Please, help:-)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to