Re: utf-8 encoded htaccess?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/09/2007, Martin Strand <do.not.eat.yellow.snow@xxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux