Re: Entities in alt and title text



The Bicycling Guitarist wrote:
"Harlan Messinger" <hmessinger.removethis@xxxxxxxxxxx> wrote in message news:5h8kcgF3firuaU1@xxxxxxxxxxxxxxxxxxxxx
Andy Dingley wrote:
On 31 Jul, 09:07, "The Bicycling Guitarist"
<Ch...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I am replacing straight vertical apostrophes with &#8217; throughout
my web site.
Why?

Are you certain that your management of encoding is accurate and
reliable enough to deliver these correctly in all cases?
Unless the encoding is something like EBCDIC (in which case all bets are off), the treatment of the characters &, #, 8, 2, 1, 7, and ; will be independent of the encoding. Which is actually the point in using numeric codes to represent these characters.
Hi Harlan and thanks for posting.
I don't know what you mean by what you just said (perhaps because it is four a.m. and I am tired). Won't those characters in that order be recognized as a character entity and be rendered as a curly apostrophe?

Yes.

What about in meta tags such as description? Do I dare replace the straight apostrophes in the description with the character entity for a curly apostrophe?

Yes, and for the same reason. The title is different--since the title is typically rendered by the operating system (for example, in the Internet Explorer window's caption bar) rather than by the browser's HTML-rendering engine, I think there can be problems.
.



Relevant Pages

  • Re: Entities in alt and title text
    ... Are you certain that your management of encoding is accurate and ... Unless the encoding is something like EBCDIC (in which case all bets are ... description with the character entity for a curly apostrophe? ...
    (comp.infosystems.www.authoring.html)
  • Re: Entities in alt and title text
    ... Do I dare replace the straight apostrophes in the ... description with the character entity for a curly apostrophe? ...
    (comp.infosystems.www.authoring.html)