UTF-8 characters mangled in HTTP Basic Auth username
I want to allow any valid UTF-8 characters in usernames and passwords. Abandon all hope. Basic Authentication and Unicode don’t mix. There is no standard(*) for how to encode non-ASCII characters into a Basic Authentication username:password token before base64ing it. Consequently every browser does something different: Opera uses UTF-8; IE uses the system’s default codepage … Read more