instead of umlauts, i see only signs on my website. I think the
problem occurs because i developed with Windows 7 with a tool which is
not UTF-8 compatible and later, i moved the needed files to Ubuntu. To
solve this, i downloaded the Notepad++ Editor. Then i opened all files
and checked "Encode in UTF-8 without BOM" respectively "Convert to
UTF-8 without BOM". But the problem is still present.
My database encoding works with uft-8 (encoding option in database.php
made it possible).
What i've tryed:
- inside my default.ctp layout file:
[code]
<?php header('Content-type: text/html; charset=UTF-8') ;?>
[/code]
and inside of <head>:
[code]
<?php echo $html->charset(utf-8); ?>
[/code]
- inside my core.php file:
[code]
Configure::write('App.encoding', 'UTF-8');
[/code]
Apache2 is also set to UTF-8.
I spend about 2 days and cant solve this :(
I'm so frustrated. :/
Can someone help me out of this?
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
To unsubscribe, reply using "remove me" as the subject.
No comments:
Post a Comment