W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > January to April 1996

Re: Non Latin1 charsets (draft-holtman-http-negotiation-00.txt)

From: Daniel DuBois <ddubois@rafiki.spyglass.com>
Date: Fri, 1 Mar 1996 09:44:28 -0600
Message-Id: <9603011544.AA02663@rafiki.spyglass.com>
To: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
At 02:04 PM 3/1/96 +0100, Mirsad Todorovac wrote:
> Alternates: {"TheProject.fr.html" 1.0
>       {type "text/html"} {language "fr"}},
>     {"TheProject.en.html" 1.0
>       {type "text/html"} {language "en"}},
>     {"TheProject.ru.html" 1.0
>       {type "text/html;charset=iso-8859-5"} {language "ru"}}
>     ("/cgi-bin/xlate?koi8-r+TheProject.ru.html" 1.0
>       {type "text/html;charset=koi8-r"} language "ru"}}

Charsets are not to appear in mime type tags in URI/Alternates headers.
They ave their own slot.  The above examples would be:
> Alternates: {"TheProject.fr.html" 1.0
>       {type "text/html"} {language "fr"}},
>     {"TheProject.en.html" 1.0
>       {type "text/html"} {language "en"}},
>     {"TheProject.ru.html" 1.0
>       {type "text/html"} {charset "iso-8859-5"} {language "ru"}}

This variant below would be invalid by the anti-spoofing content negotiaion
clause because they don't have matching prefixes.  Soemthing more valid
would be:
>     ("TheProject.ru2.html" 1.0
>       {type "text/html" {charset "koi8-r"} {language "ru"} }

>> There is NO quality factor for Accept-Charset in current draft.

>So, IMVHO there should be a way to specify prefered language/encoding, with
>quality factors (which fit into current scheme for Accept: header), or by
>means of some other method.
>Eg. I want document in my native language/encoding,
>if there isn't one, I'd be happy with native language/us-ascii,

There is a mechanism for specifying qualities on language, just not on
charset.  so you could ask for "Accept-Language: native-language; ql=1.0,
en; ql=.7" and "Accept-Charset: native-charset" (which implicitly includes
iso-8859-1).

If that is not sufficient, we now that we have Koen's method for reactive
negotiation, by which you will be able to precisely pick which varaint you
want, which might be useful if you recieve the the language you wanted, but
not the charset you wanted. (You recieve TheProject.ru.html, but you realize
there was also a TheProject.ru2.html, so you ask for it by name.)
-----
Dan DuBois, Software Animal           http://www.spyglass.com/~ddubois/
    Download a totally free copy of the Spyglass Web Server today!
        http://www.spyglass.com/products/server_download.html
Received on Friday, 1 March 1996 07:50:42 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:31:47 EDT