Branch: Tag:

2000-02-14

2000-02-14 09:25:26 by Per Hedbor <ph@opera.com>

It is now possible to specify the on-disk charset in the filesystem module

Rev: server/modules/filesystems/filesystem.pike:1.64

8:   inherit "roxenlib";   inherit "socket";    - constant cvs_version= "$Id: filesystem.pike,v 1.63 2000/01/31 03:48:21 per Exp $"; + constant cvs_version= "$Id: filesystem.pike,v 1.64 2000/02/14 09:25:26 per Exp $";   constant thread_safe=1;      #include <module.h>
132:    "Forbid access to paths containing symbolic links.<br>\n"    "NOTE: This can cause *alot* of lstat system-calls to be performed "    "and can make the server much slower."); +  +  defvar("charset", "iso-8859-1", "File charset", TYPE_STRING, +  "The charset the files on disk have.");   }      
476:    TRACE_LEAVE("");    accesses++;    TRACE_LEAVE("Normal return"); +  id->misc->input_charset = query("charset");    return o;    }    break;