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 6887745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:55:20+00:00 2026-05-27T05:55:20+00:00

It may seem like a subjective question but all I’m looking for is some

  • 0

It may seem like a subjective question but all I’m looking for is some hard and fast rules for when to use and when not to use HTML character references, particularly given the charset:

<meta http-equiv="content-Type" content="text/html; charset=utf-8" />

I’m picking up development on a company website from where someone else left off, and it seems like the previous developer encoded everything other than A-Z and 0-9 as HTML character references. For example every comma has been encoded as &#44; and I’m not sure if this is a good thing.

Specifically is the following bad in terms of SEO?

<meta name='keywords' content='eriks industrial services&#44; industrial products&#44; industrial services&#44; eriks&#44; uk&#44; european&#44; leader&#44; european leader&#44; eriks&#44; power transmission&#44; power&#44; bearings'/>

And specifically what characters must always be encoded as character references?

And for the sake of consistency is it better to avoid &name; and use &#DD; wherever possible?

  • 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-27T05:55:20+00:00Added an answer on May 27, 2026 at 5:55 am

    Character references should be used when document creating/editing software, the data storage or a transport channel cannot store Unicode data or preserve the byte stream it is encoded to.

    Practically this could mean that work needs to be done with legacy applications or with legacy configuration or with legacy transport protocols. In such cases it is possible that some part of the toolchain supports only 8-bit encodings or even ASCII only. Storing Unicode characters as such is not possible in such cases so reverting to character references on all but ASCII characters could be useful then, because that way you can avoid nasty encoding conversion problems that might appear when switching from 8-bit encodings to Unicode. Using named entities instead of character references is marginally more readable, but it unnecessarily complicates XML compatibility or migrating to XML, because using entities requires the presence of a DOCTYPE declaration or embedded DTD. This does not apply to &lt;, &amp;, &quot;, &apos' and &gt; which are pre-defined in XML.

    If you are working with a modern environment, using Unicode characters as such is generally preferred because often (the textual) data can be used without parsing/interpretation (e.g. direct searches from the text), it is easier and it will probably lead to more readable and thus more easily maintainable code.

    The characters you must encode are < and & and also " and ' when they appear in an attribute value and the same character is used as an attribute value delimiter. In theory you should also escape > when it appears as a part of a ]]> string that is not meant to end a CDATA section, but this is only for SGML compatibility and therefore not generally needed. These characters should be escaped using entities instead of character references. The need of escaping & applies also to URL values in <a href="..."> which unfortunately is commonly forgotten.

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

Sidebar

Related Questions

This may seem like a dumb question, or even subjective, but I'm not sure
this may seem like a very simple question, but I want to dump some
This may seem like a basic/stupid/obviously-answered question, but I wanted to check: why use
This may seem like a stupid question, but I've been looking everywhere to fix
This may seem like a silly question, but is there some way to determine
This may seem like a very basic question but I did not seem to
This may seem like a silly question, but consider the following use of the
Evening guys, This may seem like a stupid question but im having some issues
This may seem like a daft question, but i was wondering about how to
This may seem like a dumb question, but can an app build with c#

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.