If your sure that :
- Your db encoding is correctly set
- Your files are correctly saved as utf
- You've added the correct $html->charset() in your view

You can try adding a AddDefaultCharset utf-8 to your .htaccess and/or
Configure::write('App.encoding', utf-8') in your bootstrap.php file

On Aug 25, 2:18 pm, Martin Westin <martin.westin...@gmail.com> wrote:
> You should try to pin-point it a bit.
> Is the browser receiving the correct encoding in the header?
> Is the problem for static text in the layout or text from the
> database?
> Is the problem there for both old data and new data?
>
> There are many little details that are important since you can
> potentially introduce encoding problems in many different ways.
>
> It can be the webserver forcing it's default encoding on html and text
> output.
> It can be that you used Cakes schema migrations (which do not include
> a lot of encoding info from the database).
> It can also be that the data you migrated to the server got messed up
> in the process.
> It can even be php files messed up by an ftp client.
>
> I have had, probably, every encoding problem imaginable. Bring on the
> details and I'll try to suggest some specific solutions.
>
> /Martin
>
> On Aug 25, 1:55 pm, cakeFreak <freakclimb...@gmail.com> wrote:
>
> > Hey guys,
>
> > I have a weird issue!
>
> > On my local machine everithing works fine, while on the remote one I
> > don't get utf-8 encoding working properly.
>
> > - DB is utf8 encoding in both machines
> > - files should be saved with utf-8 encoding on both
>
> > Did you experience similar problems and have any advice?
>
> > Thanks dan
>
>
--~--~---------~--~----~------------~-------~--~----~
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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to