Also (for MS Internet Explorer), be sure to turn *OFF* the menu option:
        View Encoding Auto-Select.

Andrew Martin
ICQ: 26227169 http://valley.150m.com/
-><-

----- Original Message -----
From: "Andrew Martin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 05, 2002 12:31 PM
Subject: [REBOL] Rebol & XML encoding; use encoding="windows-1252"


> 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.
>
> This site:
>         http://www.w3schools.com/xml/xml_encoding.asp
>     helped me the most.
>
> Andrew Martin
> ICQ: 26227169 http://valley.150m.com/
> -><-
>
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to