+ Reply to Thread
Results 1 to 9 of 9

Thread: 

  1. #1
    garrensilverwing's Avatar
    garrensilverwing is offline x10 Sophmore garrensilverwing is an unknown quantity at this point
    Join Date
    Nov 2008
    Posts
    148

    

    "" i get this weird symbol at the top of a few of my pages. http://www.brianwallchess.net/games is one of the pages this happens on. I use html/css/php/mysql/javascript and i cant find the symbol anywhere in the code. is there an explanation of this? (i am viewing it in the latest version of firefox)

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: 

    Doesn't show up for me in IE7
    Nothing is always absolutely so.

  3. #3
    Mr. DOS is offline x10 Sophmore Mr. DOS is an unknown quantity at this point
    Join Date
    Oct 2009
    Location
    Nova Scotia, Canada
    Posts
    228

    Re: 

    Firefox 3.5.5 under Windows 7 x64; I don't see it either.

    --- Mr. DOS
    I've written a couple articles on automatic application of AlphaImageLoader in IE6 using nothing but IE6-specific CSS rules.

  4. #4
    Anna's Avatar
    Anna is offline I am just me Anna is a name known to allAnna is a name known to all
    Join Date
    Aug 2007
    Location
    Sweden
    Posts
    6,569

    Re: 

    those symbols are typically added to file of a certain char encoding (I'm not 100% sure which one though but I think it is utf- by some text editors. Has to do with the documents BOM.

    In some text editors (notepad++ for instance) you can chose to save as utf-8 without the DOM being added. I've mainly ran into them when coding php, they are then typically added before the first <?php tag.

    I can not see the symbols when viewing that page.
    Last edited by Anna; 11-09-2009 at 04:48 AM. Reason: It was BOM not DOM
    Do you have trouble reaching your site?
    Check here first: News and Announcements


    Don't forget that x10hosting has an irc server as well. Come and join the fun
    server: irc.x10hosting.com, main channel: #x10hosting
    There's a lot helpful users there if need help building your site

  5. #5
    garrensilverwing's Avatar
    garrensilverwing is offline x10 Sophmore garrensilverwing is an unknown quantity at this point
    Join Date
    Nov 2008
    Posts
    148

    Re: 

    maybe its just me because i use notepad++ and php...after i refresh the page a couple times it goes away, though i am running sessions and wouldnt it say i cant run the session if there are utf-8 code before the session starts?

  6. #6
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: 

    Those are the latin-1 glyphs for the UTF-8 byte order mark (BOM, not DOM). Check the source in a hex editor and you'll see it: "\xEF\xBB\xBF" at the start (plus an extraneous space). It's used to specify the endianness used in the file. Notepad++ should have a "UTF8 without BOM" menu item (not sure where, as I'm an Eclipse guy).
    Last edited by misson; 11-08-2009 at 11:15 PM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  7. #7
    Livewire's Avatar
    Livewire is offline Abuse Compliance Officer Livewire is a glorious beacon of lightLivewire is a glorious beacon of light
    Join Date
    Jun 2005
    Location
    Behind a keyboard.
    Posts
    8,998

    Re: 

    Quote Originally Posted by misson View Post
    Those are the latin-1 glyphs for the UTF-8 byte order mark (BOM, not DOM). Check the source in a hex editor and you'll see it: "\xEF\xBB\xBF" at the start (plus an extraneous space). It's used to specify the endianness used in the file. Notepad++ should have a "UTF8 without BOM" menu item (not sure where, as I'm an Eclipse guy).
    Format>Encode in UTF8 Without BOM (I'm a notepad++ user, although I have mine set to ANSI and it seems to work okay for me)


    TOS breakers will be suspended regardless of race, creed, national origin, hair color, or favorite food. Thanks for your understanding!

  8. #8
    garrensilverwing's Avatar
    garrensilverwing is offline x10 Sophmore garrensilverwing is an unknown quantity at this point
    Join Date
    Nov 2008
    Posts
    148

    Re: 

    alright thanks guys!

  9. #9
    email origami is offline x10Hosting Member email origami is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    3

    Re: 

    It's either what Livewire said, or..

    this happened to me after I installed a free Helvetica font. The browsers wouldn't/couldn't load it so they put in 

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers