That's simply an encoding problem.
Is your .php file saved in UTF8?
Are there UTF8 meta tags in the page header?

Also see very recent discussion:
http://groups.google.com/group/cake-php/msg/8f40e1bd40182e11?hl=en

On 6 Oct 2008, at 15:15, exo_duz wrote:

>
> Hi all,
>
> Is there a different way to do page titles when using multiple
> languages?
>
> I have done in the controller:
>
> CODE
> //read the language and redirect as needed
> $lang = Configure::read('Config.langCode');
>
> //en or jp
> if ($lang == 'en')
> {
>  $this->pageTitle = "Welcome";
> }
> else
> {
>  $this->pageTitle = "ようこそ";
> }
>
>
> English is fine but when I try to do Japanese characters the only
> things that come up is �悤����
>
> Anyone know why this is happening?
>
> Is there a better way to do this?
>
> As the pages changes with each page and further down the line I want
> to add the database output to the title as well, what would be the
> best way to achieve this?
>
> Thanks in advance.
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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