Thanks to Spark and AD7six for their kind help. I figured it out (big
part of the problem was in my local httpd.conf file). Let me just make
a summary so that everybody keep in mind when dealing with UTF-8
encoding:
How to display Portuguese encoding or general UTF8 encoding in Cake or
dynamic
Hi, I have a problem figuring out why the result of an Ajax execution
is not in the correct encoding under cake.
You can see the result at http://webrickco.com/caketest. Using the
user/password david/test and clicking on the first link: Alterar a
configuração dos menus. At this point the result
Hi,
I have a test page made with cake 1.2 RC1 and everything is fine
despite the lack of documentation on the matter. I have however a
little problem on my production site that doesn't happen on local. The
problem is with encoding. Everything looks fine until i fire an event
calling Ajax and
On Jun 15, 11:33 am, Webrickco [EMAIL PROTECTED] wrote:
Hi, I have a problem figuring out why the result of an Ajax execution
is not in the correct encoding under cake.
because you are not using UTF-8, ajax requests always use and expect
UTF-8.
You can see the result
On Jun 15, 12:13 pm, Webrickco [EMAIL PROTECTED] wrote:
Hi,
I have a test page made with cake 1.2 RC1 and everything is fine
despite the lack of documentation on the matter.
book.cakephp.org
I have however a
little problem on my production site that doesn't happen on local. The
problem
Thank for your answer. I was expecting you say something like this.
Obviously i tryed UTF-8 as first place along with many other
configuration of charset. Unfortunately, if i put $html-
charset('UTF-8'); you can look at the result now at
http://www.webrickco.com/caketest
It's even worse!!! This
On Jun 15, 3:20 pm, Webrickco [EMAIL PROTECTED] wrote:
Thank for your answer. I was expecting you say something like this.
Obviously i tryed UTF-8 as first place along with many other
configuration of charset. Unfortunately, if i put $html-
charset('UTF-8'); you can look at the result now
database default collation is just a little part, and doesn't matter
as much as you may think.
database connection is far more important (you can change it in
config/database.php), the file you are editing is, i'm almost for
sure, wrongly encoded. Try To change it in Aptana or Eclipse (under
the
Thx for your kind answers.
The point is that everything looks fine locally and when i put
everything on the server the Ajax request fail to present data
properly, however requests to the database and HTML presentation
continue to work fine in ISO-8859-1, and unfortunately not in UTF-8.
I would