Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7128887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T11:11:06+00:00 2026-05-28T11:11:06+00:00

When using the inbuilt template for my html pages in eclipse, I get the

  • 0

When using the inbuilt template for my html pages in eclipse, I get the following code appended prior to xhtml doctype: <?xml version="1.0" encoding="ISO-8859-1" ?> Does this code affects the html pages?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T11:11:07+00:00Added an answer on May 28, 2026 at 11:11 am

    No it doesn’t, your html is still valid and readable for every browser. (However, it will put IE into quirks mode for every version below IE9 — see @Rob’s comment.)

    Because you are using xhtml, which is basicly a type of xml, the browser needs some kind of encoding for the document.

    See w3c:

    Historically, the character encoding of an HTML document is either
    specified by a web server via the charset parameter of the HTTP
    Content-Type header, or via a meta element in the document itself. In
    an XML document, the character encoding of the document is specified
    on the XML declaration (e.g., <?xml version="1.0"
    encoding="EUC-JP"?>
    ). In order to portably present documents with
    specific character encodings, the best approach is to ensure that the
    web server provides the correct headers. If this is not possible, a
    document that wants to set its character encoding explicitly must
    include both the XML declaration an encoding declaration and a meta
    http-equiv statement (e.g., <meta http-equiv="Content-type"
    content="text/html; charset=EUC-JP" />
    ). In XHTML-conforming user
    agents, the value of the encoding declaration of the XML declaration
    takes precedence.

    BTW this is only if you use another char-set than UTF-8 or UTF-16. If you use default UTF8 or UTF016 there are some exceptions. See W3C (again).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using android in eclipse . I wanted to see inbuilt classes in
I am using the following code to create a dynamic reflection of an image:
i am currently using xslt1.0 and jdk1.6.0_10 for converting xml to html..but i couldnt
I'm wondering if there is a better/inbuilt way, other than using a byte buffer
Using online interfaces to a version control system is a nice way to have
Using JDeveloper , I started developing a set of web pages for a project
I've got a project where by I send email using PHP's inbuilt mail() function,
I have an warning while returning an NSInteger. I am using UITableView's inbuilt method
I am using the ASP.NET inbuilt login and role management solution (creates table like
I am using the Cake's inbuilt auth module . Everything is working fine on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.