hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Gl├╝ck <ortwin.glu...@nose.ch>
Subject Re: DO NOT REPLY [Bug 24671] - Basic Authentification fails with non-ASCII username/password characters
Date Thu, 13 Nov 2003 08:29:14 GMT


bugzilla@apache.org wrote:
> ------- Additional Comments From becke@u.washington.edu  2003-11-13 03:03 -------
> Created an attachment (id=9084)
> Patch 1

+        int[] germanChars = { 0xE4, 0x2D, 0xF6, 0x2D, 0xFc };
+        StringBuffer buffer = new StringBuffer();
+        for (int i = 0; i < germanChars.length; i++) {
+            buffer.append((char)germanChars[i]);
+        }


that is nicely US safe, Mike :-)


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message