- Keystroke flow in X.org
- TreePath
- Package Management
- Linux Kernel Development
- How to cut ISP support costs
- Systems Administration
- The Ultimate Development Workstation
- HTTP 1.2 -- What it needs
- HTTP Authentication: Solutions and Futures
- HTTP Authentication: Solutions and Futures Introduction
- Optional HTTP Authentication
- HTTP Authentication User Interface
- Inadequate Logout functionality in HTTP Authentication
- Single sign-on for HTTP Authentication
- Lack of Internationalisation in HTTP Authentication
- Poor software support for HTTP Authentication
Lack of Internationalisation in HTTP Authentication
Posted November 27th, 2007 by wayland
Lack of internationalisation has caused problems in HTTP Authentication. This article discusses how to work around that.
Table of Contents
The Problem
The problem is that ASCII seems to be the only character set that works universally with HTTP Authentication. Internet Explorer seems to use ISO-8859-1 and Windows-1252. Firefox seems to use UTF-8 and Windows-1252, and Opera seems to use UTF-8 universally.
The Solution
Short-term: use ASCII
Fairly self-explanatory, really. This is the soft option.
Short-term: Make the server interpretation browser-dependant
Not a wonderful idea, but better than nothing. To implement something like this, you'll need to know what the different browsers do. Fortunately, Mr. Bjoern Hoehrmann has already done some investgation of which browsers support which character set.
Medium-term: Change the software to support RFC 2047
RFC 2047, MIME Part Three: Message Header Extensions for Non-ASCII Text specifies how UTF-8 should be encoded in headers. When the software actually supports this, it will be wonderful. This also isn't a wonderful long-term solution, because it assumes that the web is basically iso-8859-1; see Mr. Martin J. Düerst's post.
Long-term: Change the RFC
You're probably familiar with the solution by now; change the RFC to explicitly mandate that encoding be supported for HTTP Authentication. There was discussion of this in September and October 2006 which can be found in the IETF HTTP Auth Archives.
Bookmark/Search this post with:
- wayland's blog
- Login or register to post comments
- Printer-friendly version
Delicious
Digg
StumbleUpon
Propeller
Reddit
Magnoliacom
Newsvine
Furl
Facebook
Google
Yahoo
Technorati
Icerocket