xsl-list
[Top] [All Lists]

RE: Seeking a valid mdash

2003-07-17 22:15:33
Hi,

These lines contain the mdashes. I'm surprised the validator tries
to interpret them as us-ascii, when the encoding is UTF-8. The xhtml
file header:

  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml-strict.dtd";>
  <html xmlns="http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
    <head>
      <meta content="text/html; charset=utf-8" 
http-equiv="Content-Type" />

What does the server claim the document charset is? Get the document with 
telnet, or e.g. LiveHTTPHeaders extension to Mozilla Firebird to check the HTTP 
header "Content-Type".

Cheers,

Jarno - Linnunradan käsikirja liftareille: Osa 2

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>