On Feb 3, 2011, at 11:22, cricket wrote:
> On Thu, Feb 3, 2011 at 11:31 AM, hill180 wrote:
>> In the CSS is have:
>> th a.asc:after {
>>        content: ' ⇣';
>> }
> 
> You have to escape the character in CSS's content value.

You do not *have* to escape the character in the CSS file. That is one 
solution, but I don't like it; I prefer mine:

The problem is that you have a UTF-8 character in your CSS file, but your web 
server is serving your CSS file without a charset in its Content-Type header, 
so the web browser is assuming it is ISO-8859-1.

I solved this by putting the following lines in my project's .htaccess file:

AddDefaultCharset utf-8
AddCharset utf-8 .css .js



-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to