Return-Path: Delivered-To: apmail-cocoon-users-fr-archive@www.apache.org Received: (qmail 77125 invoked from network); 7 Apr 2005 14:35:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Apr 2005 14:35:15 -0000 Received: (qmail 74595 invoked by uid 500); 7 Apr 2005 14:35:14 -0000 Mailing-List: contact users-fr-help@cocoon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users-fr@cocoon.apache.org Delivered-To: mailing list users-fr@cocoon.apache.org Received: (qmail 74581 invoked by uid 99); 7 Apr 2005 14:35:14 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp6.wanadoo.fr (HELO smtp6.wanadoo.fr) (193.252.22.25) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Apr 2005 07:35:12 -0700 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf0612.wanadoo.fr (SMTP Server) with ESMTP id 757CA1C000DA for ; Thu, 7 Apr 2005 16:35:10 +0200 (CEST) Received: from [192.168.0.12] (Laubervilliers-151_11-1-160.w82-127.abo.wanadoo.fr [82.127.0.160]) by mwinf0612.wanadoo.fr (SMTP Server) with ESMTP id 4A7A11C000C2 for ; Thu, 7 Apr 2005 16:35:10 +0200 (CEST) X-ME-UUID: 20050407143510306.4A7A11C000C2@mwinf0612.wanadoo.fr From: Thenon David To: users-fr@cocoon.apache.org Subject: Re: UTF-8 dans les URL. Date: Thu, 7 Apr 2005 16:37:25 +0200 User-Agent: KMail/1.7.1 References: <1112814765.24470.3.camel@localhost.localdomain> <1112881500.10588.78.camel@localhost.localdomain> <42553E8E.1040000@apache.org> In-Reply-To: <42553E8E.1040000@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200504071637.25964.thenon.david@wanadoo.fr> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Le jeudi 7 Avril 2005 16:07, Sylvain Wallez a =C3=A9crit : > Aur=C3=A9lien DEHAY wrote: > >Le jeudi 07 avril 2005 =C3=A0 15:12 +0200, Sylvain Wallez a =C3=A9crit : > >>Aur=C3=A9lien DEHAY wrote: > >>>Bonjour. > >>> > >>>Personne ne s'amuse (enfin, c'est un bien grand mot) =C3=A0 =C3=A7a su= r son > >>>serveur? Je viens de tester, avec Apache =C3=A7a fonctionne tr=C3=A8s = bien, mais > >>>pa avec Cocoon. Je n'ose croire que Cocoon ne permets pas d'effectuer = ce > >>>genre de chose... > >>> > >>>Ou alors c'est un probl=C3=A8me avec le map:match et l'encoding utilis= =C3=A9? > >>> > >>>Un map:match pattern=3D"*.html" comprends bien le =E2=82=AC.html, mais= si > >>>j'utilise le {1} dans le map:match, m=C3=AAme erreur. Quelqu'un pour ne > >>>serait-ce que m'aiguiller sur le probl=C3=A8me? > >> > >>Il faudrait savoir comment l'URL arrive au niveau de Cocoon, c'est =C3= =A0 > >>dire comment elle est d=C3=A9cod=C3=A9e par le moteur de servlet (Tomca= t, Jetty?). > >>Le probl=C3=A8me peut tr=C3=A8s bien venir de l=C3=A0, puisque c'est lu= i qui en assure > >>le d=C3=A9codage de la requ=C3=AAte. > >> > >>En activant le mode debug dans logkit.xconf, tu trouveras dans les logs > >>l'URL en entr=C3=A9e de Cocoon. Quelle t=C3=AAte a-t-elle ? > > > >Je viens d'essayer dans les 2, avec le map:match suivant: > > > > > > > > > > > > > >Pour la requ=C3=AAte /=E2=82=AC.html (j'ai bien un fichier =E2=82=AC.xsp= sur le disque) > > > >Dans les logs de Cocoon+jetty (webapp d'exemple l=C3=A9g=C3=A8rement mod= ifi=C3=A9) ET > >Dans les logs de Cocoon+tomcat (webapp maison) (et =C3=A0 une , pr=C3=A8= s entre le > >=C3=A2 et le =C2=AC en plus dans jetty): > > une virgule en plus? > > Quand on regarde la table de l'iso-8859-1 [1], on trouve que > > E2 -> =C3=A2 (a circ) > 82 -> unused (!) > AC -> =C2=AC (not sign) > > Or Unicode nous dit [2] que le signe euro est 20AC... > > J'ai l'impression que c'est ce bon FireFox qui s'emm=C3=A8le les pinceaux= =2E.. > > Sylvain > > > [1] http://www.dcc.unicamp.br/~stolfi/EXPORT/www/ISO-8859-1-Encoding.html > [2] http://www.unicode.org/reports/tr8/index.html#Euro%20Sign Bonjour, Alors j'ai test=C3=A9 l'exp=C3=A9rimentation sur quelques navigateurs, c'es= t assez=20 d=C3=A9soeuvrant. Gecko et Konqueror me resortent : Resource Not Found Message: Resource Not Found Description: The requested resource "/test/%A4.html" could not be found Sender: org.apache.cocoon.servlet.CocoonServlet Source: Cocoon Servlet Et un IE 6 sous XP sort : Message: Resource Not Found Description: The requested resource "/test/%E2%82%AC.html" could not be=20 found Sender: org.apache.cocoon.servlet.CocoonServlet Source: Cocoon Servlet voila voila --------------------------------------------------------------------- Liste francophone Apache Cocoon -- http://cocoon.apache.org/fr/ Pour vous desinscrire : mailto:users-fr-unsubscribe@cocoon.apache.org Autres commandes : mailto:users-fr-help@cocoon.apache.org