On Tue, 05 Jan 2010 08:29:53 +0100, Jonas Sicking <[email protected]> wrote:
Wouldn't it then be better to throw for any non ASCII characters? That way we don't restrict ourself for when (if?) IETF defines an encoding for http headers.
The defined encoding is ISO-8859-1 (unfortunately).
At the very least, throwing if the upper byte is non-zero seems like the right thing to do to prevent silent data loss.
That works for me. -- Anne van Kesteren http://annevankesteren.nl/
