[REBOL] Re: Rebol & XML encoding
From: bry:itnisk at: 7-Jul-2002 17:28
I think part of this problem may be solved by reference to a thread on a
different list, anyway I'll quote from the xsl-mulberrytech.com list
David:
>But to get the html browser to detect the right encoding you need to
add
>a meta element to the head, the html output method does that
>automatically but in XML you need to do it by hand
Julian:
>IE either supports XML (+CSS) (so the HTML engine won't
>even look at it), *or* HTML. If you're producing HTML, the XML
declaration
>is irrelevant (the only thing that counts are the encoding declaration
from
>the HTTP response and/or the META tag in the HTML).
Ahaaa, so if I use the xml output method with xhtml doctypes, coupled
with a hand coded <meta> tag I can get xhtml output thats decoded in
unicode. After testing - this works fine for me, is it ok?