Jim-an / ie7-js

Automatically exported from code.google.com/p/ie7-js
0 stars 0 forks source link

:before and :after don't process unicode characters #316

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I added this css rule:
li:before { content: "\00BB \0020"; color: #065ca4; }
2. Navigate to the page on IE7.

What is the expected output? What do you see instead?
I would expect to see the unicode characters to the left of the li elements. 
Instead, I see the text appears with the proper color, but not interpreted as 
Unicode. That is, I see the text "\00BB" instead of the unicode character with 
that code point.

Original issue reported on code.google.com by juansot...@gmail.com on 4 Apr 2011 at 7:50

GoogleCodeExporter commented 8 years ago
Forgot to say so, I'm using ie9.js

Original comment by juansot...@gmail.com on 4 Apr 2011 at 7:51

GoogleCodeExporter commented 8 years ago
Workaround: Include the characters you need as "raw" characters in the string 
literal in your CSS, eg by copy/pasting each character from Wikipedia's list of 
Unicode characters:

http://en.wikipedia.org/wiki/List_of_Unicode_characters

Make sure to save your CSS file with the proper encoding, and IE8.js should 
show the characters just fine. It would be a lot nicer, though, if this 
workaround was not needed.

Original comment by j...@malamute.dk on 16 Apr 2012 at 7:31

GoogleCodeExporter commented 8 years ago
Hi,
What do you mean by 'include the characters you need as 'raw' characters?
Thank you,
Grant Bailey

Original comment by grantmal...@gmail.com on 3 Jun 2012 at 8:05

GoogleCodeExporter commented 8 years ago
It probably means entering: 

"ᙧ"

instead of:

"\1667" 

You can also copy the character from Firebug, it apparently renders it 
automatically after you've written the unicode inside content property. 

Original comment by Mihaela....@gmail.com on 3 Jun 2012 at 12:55

GoogleCodeExporter commented 8 years ago
Mihaela is correct - that is exactly what I meant.

Original comment by j...@malamute.dk on 3 Jun 2012 at 8:06