Re: XML/HTML encoding?

From: Date: Fri, 09 Jan 2004 23:35:22 +0000
Subject: Re: XML/HTML encoding?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-174180@lists.php.net to get a copy of this message
Hello Vincent, On 9 Jan 2004 at 16:23, Vincent Jansen wrote: > After xslt I end up with a html document with a souce that looks > something like > > <?xml version="1.0" encoding="UTF-8" standalone="yes"?> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > "http://www.w3.org/TR/REC-html40/loose.dtd"> > <html> > <head> > <title>dotted e (ë) works</title> > </head> > <body> > Etc..... > > This is what I want > But my browser displays "dotted e () works" > > Because I don't want yes or no: Please tell me what (maybe obvious > thing) I'm doing wrong I don't think you're doing anything wrong, except perhaps for using an outdated browser. The "ë" (e-umlaut, which you called a "dotted e") displays just fine in both IE 6 and Netscape 7.1 on my computer. Make sure your browser is configured to use Western European (ISO-8859-1) encoding, because even latest-generation browsers have poor support for UTF-8. To change your browser's encoding settings, do: In IE 6: View > Encoding In Netscape: View > Character Coding Any other browser: figure it out yourself ;-) Take care, Erik

« previous php.general (#174180) next »