hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Köhler <skoeh...@upb.de>
Subject Re: httpclient dont support ö ?
Date Thu, 18 Mar 2004 16:41:15 GMT
> nun habe ich noch das problem das er kein Dateien mit  umlauten versenden
> kann,z.b Übung1.txt

I guess you're talking about the content-disposition header or 
http-headers with umlauts in general - i think there's no standard for 
sending them.
First, i have to define a http-header to be more like a byte[]-array 
than a String (in the Java sence). The bytes will have to be 
interpretated by a Charset like UTF8, ISO8859-1 etc. to become a String 
on the client-side. MaxOSX might use UTF8, Linux and Windows should use 
the current locale. So there is no correct way to store a umlaut in a 
HTTP-header since HttpClient cannot know the Charset that the client 
will use.

The Charset for the Headers and the Charset used for the URL are one of 
the weaknesses of the HTTP-Protocol. UTF8 may become a standard - but 
this will surely take a while.

---------------------------------------------------------------------
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