Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 12195 invoked from network); 10 Aug 2005 15:15:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Aug 2005 15:15:14 -0000 Received: (qmail 14782 invoked by uid 500); 10 Aug 2005 15:15:08 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 14739 invoked by uid 500); 10 Aug 2005 15:15:08 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 14725 invoked by uid 99); 10 Aug 2005 15:15:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2005 08:15:07 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [138.96.64.20] (HELO sophia.inria.fr) (138.96.64.20) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2005 08:15:29 -0700 Received: from localhost (localhost [127.0.0.1]) by sophia.inria.fr (8.13.4/8.13.4) with ESMTP id j7AFF4e0009316 for ; Wed, 10 Aug 2005 17:15:04 +0200 Received: from [138.96.66.4] (dahu.inria.fr [138.96.66.4]) by sophia.inria.fr (8.13.4/8.13.4) with ESMTP id j7AFF3gm009311 for ; Wed, 10 Aug 2005 17:15:04 +0200 Message-ID: <42FA19F7.9050806@sophia.inria.fr> Date: Wed, 10 Aug 2005 17:15:03 +0200 From: Philippe Poulard User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050511 X-Accept-Language: fr-FR,en MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: [VFS] URI normalization References: <42F9F4CA.3060402@sophia.inria.fr> <42FA0657.4000200@ops.co.at> In-Reply-To: <42FA0657.4000200@ops.co.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (sophia.inria.fr [138.96.64.20]); Wed, 10 Aug 2005 17:15:04 +0200 (MEST) X-Virus-Scanned: by amavisd-new at sophia.inria.fr X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Mario Ivankovits wrote: > Hi! > >> Should VFS normalize URIs before parsing a file name ? > > Do you have a problem with the current behaviour? not yet ;) i'm dealing with XML resources and some XML standards oblige to use normalized URIs as a french person, I'll try VFS with a file named "� la p�che.xml" and tell you if I encounter any problem > VFS do not encode special characters other than "%" and sometimes "?" > (url based fs) and sometimes "!" (layers/zip fs). > > Before any parsing the filename is DEcoded. For VFS it is needed to have > a consistent view of the filename even if it is encoded or decoded - > that does not matter. > > If I encode/normalize it, all visual representation of the filename > looks a little bit strange. > > Even if the VFS filename looks like a URI I think we could still treat > it simply as "VFS filename" - human readable with minimum encoding. > The filesystem implemenation is responsible to to encode it at needed > (e.g. take session charset into account). > > For sure, you can reverse all said above ... but what's the advantage of > it? > > The BIG disadvantage is to have to deal e.g. with charsets in VFS core. > If the filename is encoded we have to know which charset was used. > > > Ciao, > Mario > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-user-help@jakarta.apache.org > -- Cordialement, /// (. .) -----ooO--(_)--Ooo----- | Philippe Poulard | ----------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org