Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[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 list David:
>But to get the html browser to detect the right encoding you need to
>a meta element to the head, the html output method does that >automatically but in XML you need to do it by hand
>IE either supports XML (+CSS) (so the HTML engine won't >even look at it), *or* HTML. If you're producing HTML, the XML
>is irrelevant (the only thing that counts are the encoding declaration
>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?