Roxen.git / server / modules / filesystems / filesystem.pike

version» Context lines:

Roxen.git/server/modules/filesystems/filesystem.pike:490:   #else    // While filesystems on other OSes typically are 8bit.    switch(lower_case(path_encoding)) {    case "iso-8859-1":    return p;    case "utf8": case "utf-8":    // NB: We assume that the filesystem will normalize    // the path as appropriate.    return Unicode.normalize(utf8_to_string(p), "NFC");    default: -  return Locale.Charset.decoder(path_encoding)->feed(p)->drain(); +  return Charset.decoder(path_encoding)->feed(p)->drain();    }   #endif /* !__NT__ */   }      protected string low_real_path(string f, RequestID id)   {    string norm_f;       if (mixed err = catch {    /* NOTE: NORMALIZE_PATH() may throw errors. */