Check the settings on the IDE you are using to edit your files. If
you are using PDT from Eclipse you need to tell Eclipse that all your
code files are UTF-8 if not you'll get that kind of errors. When I
say all the code files I mean all, config files, php, phtml, etc, etc
etc.
Hope this helps.
On Apr 7, 2008, at 3:23 PM, Expertics wrote:
Greetings
I've configured utf 8 in my site, but I have a problem when I use
render, by example :
view
-layout
-- layout.phtml
-scripts
-- categoria
---- view.phtml
filemessage.phtml
filemessage.phtml
<p align="center">
<b>Ver categoría</b>
</p>
a) If I use render in the layout, its OK
output -> ver categoría
b) In other place (for example in view.phtml), it didn't show
correctly
output -> ver categor�a
how can I to solve this?
Jorge Luis S.
Notes: I've used these scripts
- <meta http-equiv="Content-Type" content="text/html;
charset=UTF-8"> (layout)
- $db->query("SET NAMES 'utf8'"); (bootstrap)
- utf8_spanish_ci (database)