RE: [xsl] Seeking a valid mdash

Subject: RE: [xsl] Seeking a valid mdash
From: Jarno.Elovirta@xxxxxxxxx
Date: Fri, 18 Jul 2003 08:15:33 +0300
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


Current Thread