diff -ruN erlang-11.b.0.orig/lib/inets/src/http_client/http_uri.erl erlang-11.b.0/lib/inets/src/http_client/http_uri.erl
--- erlang-11.b.0.orig/lib/inets/src/http_client/http_uri.erl	2006-06-26 17:00:15.000000000 +0400
+++ erlang-11.b.0/lib/inets/src/http_client/http_uri.erl	2006-06-26 17:03:48.000000000 +0400
@@ -422,7 +422,7 @@
 scan_query([H|C0],Acc) when H==$-; H==$_; H==$.; H==$!; H==$~;
 			    H==$*; H==$'; H==$(; H==$) -> % mark
     scan_query(C0,[H|Acc]);
-scan_query([H|C0],Acc) when 0=<H,H=<127 -> % US ASCII
+scan_query([H|C0],Acc) when 0=<H,H=<255 ->
     {H1,H2}=dec2hex(H),
     scan_query(C0,[H2,H1,$%|Acc]);    
 scan_query([_H|_C0],_Acc) ->
@@ -442,7 +442,7 @@
     scan_pchars(C0,[H|Acc]);
 scan_pchars([H|C0],Acc) when H==$:; H==$@; H==$&; H==$=; H==$+; H==$$; H==$, ->
     scan_pchars(C0,[H|Acc]);
-scan_pchars([H|C0],Acc) when 0=<H,H=<127, % US ASCII
+scan_pchars([H|C0],Acc) when 0=<H,H=<255,
 			     H=/=$?,H=/=$;,H=/=$/,H=/=$# -> 
     {H1,H2}=dec2hex(H),
     scan_pchars(C0,[H2,H1,$%|Acc]);    
