Hello,

On 01/09/2004 01:23 PM, 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

To use it as you have you need to specify ISO-8859-1 as encoding in the XML input document.



--


Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to