[REBOL] Rebol & XML encoding; use encoding="windows-1252"
From: al::bri::xtra::co::nz at: 5-Jul-2002 12:31
After a long and exhausting day or two, I discovered that I've been using
the wrong XML character encoding. For Rebol running on Windows PCs creating
XML or XHTML files or driving a CGI program from Rebol scripts or plain text
files (like windows .txt files), it's best to use this tag:
<?xml version="1.0" encoding="windows-1252"?>
The problems one gets for not using the above tag, is that MS Internet
Explorer (but not Opera or Netscape!) sometimes generates CGI query strings
that can look like Chinese characters or long strings of gibberish.
I tried the unicode encoding of "UTF-8" and "UTF-16" but get the problem
that Rebol doesn't understand scripts written in unicode. Rebol seems only
to read 8 bit characters, not the 16 bits (I think?) of unicode.
helped me the most.
ICQ: 26227169 http://valley.150m.com/