On 10/09/2007, Martin Strand <[EMAIL PROTECTED]> wrote:
> I'm using non-ascii characters for AuthName but they show up as garbage in
> firefox.
> Changing the encoding for .htaccess from utf-8 to iso-8859-1 solves the
> problem but I'd like to support utf-8.

It takes a bit of backtracing through all the RFCs to find an
authoritative answer to this.

RFC2616#14.47: References RFC2617 (via a footnote reference)
RFC2617#1.2: realm-value = quoted-string

.. so back to 2616 for a definition of quoted-string ..

RFC2616#2.2

quoted-string  = ( <"> *(qdtext | quoted-pair ) <"> )
qdtext         = <any TEXT except <">>

.. and ..

Words
   of *TEXT MAY contain characters from character sets other than ISO-
   8859-1 [22] only when encoded according to the rules of RFC 2047
   [14].

Gah, another RFC: http://www.faqs.org/rfcs/rfc2047.html

I'm not familliar with that one, and it doesn't look pretty, but I
hope this hopes to get you closer to an answer.

-- 
noodl

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to