Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 7 of 7

Thread:  ???

  1. #1
    Platinum Lifetime Member
    emark's Avatar
    Join Date
    Aug 2004
    Location
    Here
    Posts
    335
    Blog Entries
    1
    DNF$
    1,447
    Bank
    0
    Total DNF$
    1,447
    Donate  

     ???

     ??? In a template I'm using, these characters  appear in front of the
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en">..... statement.
    Anybody know what these are, what are they for, and what happens if I remove them?
    Last edited by emark; 05-02-2010 at 03:56 PM.
    Rick

  2. #2
    CrossLogix.com
    copper's Avatar
    Join Date
    Mar 2006
    Location
    Matthews, NC. U
    Posts
    2,613
    DNF$
    5,015
    Bank
    0
    Total DNF$
    5,015
    Donate  
    Quote Originally Posted by emark View Post
     ??? In a template I'm using, these characters  appear in front of the
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en">..... statement.
    Anybody know what these are, what are they for, and what happens if I remove them?
    Try it by...
    If that page is "index.html"...
    Make a back up copy as "index-bak.html".
    Create new "index.html"
    Copy everything from "index-bak.html"
    Remove  ??? from the top and save it.

  3. #3
    Country hopper
    katherine's Avatar
    Join Date
    Jul 2005
    Location
    DMZ
    Posts
    8,230
    Country

    Iceland
    DNF$
    36,491
    Bank
    0
    Total DNF$
    36,491
    Donate  
    It's the Unicode byte order mark.

  4. #4
    Platinum Lifetime Member
    emark's Avatar
    Join Date
    Aug 2004
    Location
    Here
    Posts
    335
    Blog Entries
    1
    DNF$
    1,447
    Bank
    0
    Total DNF$
    1,447
    Donate  
    Thanks guys,

    Thanks copper. I did backup everything. The pages loaded and looked alright, I just didn't know if I removed it would that affect the way the code is presented, and hence the page being displayed.

    And sdsinc, what is the mark actually doing? Is it like a verification that the code is in order? I'm going to look up info in it, but finding out from someone who knows is a lot easier for me to understand.
    Rick

  5. #5
    Gold Lifetime Member
    coolsniper's Avatar
    Join Date
    Mar 2006
    Location
    Las Vegas
    Posts
    27
    DNF$
    468
    Bank
    0
    Total DNF$
    468
    Donate  
    This will help you. http://www.unicode.org/faq/utf_bom.html#BOM

    BTW: what HTML editor do you use ?

  6. #6
    Platinum Lifetime Member
    emark's Avatar
    Join Date
    Aug 2004
    Location
    Here
    Posts
    335
    Blog Entries
    1
    DNF$
    1,447
    Bank
    0
    Total DNF$
    1,447
    Donate  
    coolsniper, I'm using the Coffee Cup free version.

    "primarily of unmarked plaintext files" Am I understanding this correctly? The BOM is really not necessary for html, xhtml, php pages.
    Last edited by emark; 05-03-2010 at 06:28 PM.
    Rick

  7. #7
    Country hopper
    katherine's Avatar
    Join Date
    Jul 2005
    Location
    DMZ
    Posts
    8,230
    Country

    Iceland
    DNF$
    36,491
    Bank
    0
    Total DNF$
    36,491
    Donate  
    You can get rid of the BOM, in particular if your pages do not contain UTF-8 text.
    Check under which format your editor is saving files - UTF-8/ANSI or otherwise.

Bookmarks

Posting Permissions

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

Domain name forum recommended by Domaining.com