Branch: Tag:

2002-07-23

2002-07-23 18:09:51 by Martin Stjernholm <mast@lysator.liu.se>

Fixed a trivial bug that caused pages to always be sent in UTF-8 when the
file content charset was something else than iso-8859-1.

Rev: server/modules/filesystems/filesystem.pike:1.119
Rev: server/modules/filesystems/sqlfs.pike:1.4

7:   inherit "module";   inherit "socket";    - constant cvs_version= "$Id: filesystem.pike,v 1.118 2002/07/01 15:29:33 anders Exp $"; + constant cvs_version= "$Id: filesystem.pike,v 1.119 2002/07/23 18:09:50 mast Exp $";   constant thread_safe=1;      #include <module.h>
637:    TRACE_LEAVE("Normal return");    if( charset != "iso-8859-1" )    { -  if( id->misc->set_output_charset ) -  id->misc->set_output_charset( charset, 2 ); +  if( id->set_output_charset ) +  id->set_output_charset( charset, 2 );    id->misc->input_charset = charset;    }    return o;