tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets DefaultServlet.java
Date Wed, 04 May 2005 09:09:21 GMT
Remy Maucherat wrote:
> jfclere@apache.org wrote:
> 
>> jfclere     2005/05/04 00:04:30
>>
>>   Modified:    catalina/src/share/org/apache/catalina/servlets
>>                         DefaultServlet.java
>>   Log:
>>   When the file comes from a resource fileEncoding was not working.
>>   The default beahviour is unchanged: the file is send without a 
>> conversion.
> 
> 
> This kind of operation is extremely costly (will likely make 
> fileEncoding a problematic option, as imagine doing it on a 1MB text 
> file), and seems wrong: the purpose of the byte based sending is to send 
> the resource unchanged.

Yes, but if the text files are encoded in EBCDIC for example we will send EBCDIC 
  to the browsers.

> 
> Rémy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 


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


Mime
View raw message