Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Feb 2007
    Location
    London
    Posts
    225
    Thanks
    16
    Thanked 2 Times in 2 Posts

    Unicode cross-browser compatibility

    Hi,

    OK, please correct me if I'm wrong, but it's my understanding that IE won't display certain characters (owing to the browser's limitations) even if the font is installed on the user's computer, whereas some of the same chars will display correctly in, say, FF.

    E.g.
    Unicode: &amp;#266E; (&#x266E = decimal &amp;#9838; = ♮ (music notation: 'natural sign') — works on firefox, not in internet explorer<br/>

    So far, so good (I hope). But is there any way I can get around this?

    Thanks

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    What version of IE are you trying this on? This works fine in IE 7 and Firefox.
    Code:
    & #9838;
    Remove the space.

    Just in case you are seeing something different this is what I see in Firefox 2.0.0.5 on the post you made.
    Attached Thumbnails Attached Thumbnails Unicode cross-browser compatibility-whatisee.gif  
    Last edited by _Aerospace_Eng_; 08-02-2007 at 07:11 PM.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    Regular Coder
    Join Date
    Feb 2007
    Location
    London
    Posts
    225
    Thanks
    16
    Thanked 2 Times in 2 Posts
    Forget all the &amp;..... blah blah blah I wrote: that was an attempt to make the ampersand appear as a character and not be interpreted as part of a char ref.
    The only part that matters is the musical notation 'natural sign' itself (the small square with a vertical line rising from the left-hand edge and another vertical line descending from the right-hand edge).

    In the snapshot you posted, I see the symbol fine. (As I do when viewing in ff on my computer now!)

    Using IE6 it doesn't appear. (For which, sadly, I need to cater!)

    Any thoughts?
    thanks :-)

  • #4
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,274
    Thanks
    28
    Thanked 271 Times in 265 Posts
    Quote Originally Posted by cfructose View Post
    Using IE6 it doesn't appear. (For which, sadly, I need to cater!)

    Any thoughts?
    Firefox substitutes glyphs when a glyph is missing from a font (a glyph is the visual representation of a character). It seems that Internet Explorer 6 doesnít do this and that this feature was added to Internet Explorer 7.

    In other words, you need to use a font that contains the relevant glyph if you want it to display properly in Internet Explorer 6. Lucida Sans Unicode is probably your best bet; itís listed as being a common font [1] and has the desired glyph.

    1. http://www.ampsoft.net/webdesign-l/WindowsMacFonts.html
    Last edited by Arbitrator; 08-03-2007 at 08:49 AM. Reason: grammatical adjustment
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • Users who have thanked Arbitrator for this post:

    cfructose (09-14-2007)

  • #5
    Regular Coder
    Join Date
    Feb 2007
    Location
    London
    Posts
    225
    Thanks
    16
    Thanked 2 Times in 2 Posts
    Firefox substitutes glyphs when a glyph is missing from a font
    Not knowing that, I always presumed that the font I was using contained everything and that IE was simply getting it wrong. It all makes sense now, thanks. Lucida Sans Unicode did the trick. (And it's not that bad aesthetically!)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •