Re: XML/HTML encoding?

From: Date: Fri, 09 Jan 2004 15:33:45 +0000
Subject: Re: XML/HTML encoding?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-174124@lists.php.net to get a copy of this message
On Fri, 2004-01-09 at 08:23, Vincent Jansen wrote: > I'm doing some XML processing with PHP5 > I'm using UTF-8 encoding > When I look at my xml doc it looks something like > > <?xml version="1.0" ?> > <doc> > <text>dotted e (ë) works</text> > </doc> > > (I hope you see a dotted e) > 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 What browser and version are you using? -- Ray

« previous php.general (#174124) next »