Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 79732 invoked from network); 2 Sep 2003 19:16:06 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Sep 2003 19:16:06 -0000 Received: (qmail 78591 invoked by uid 500); 2 Sep 2003 19:15:35 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 78547 invoked by uid 500); 2 Sep 2003 19:15:33 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 78529 invoked from network); 2 Sep 2003 19:15:33 -0000 Received: from unknown (HELO hotmail.com) (65.54.245.9) by daedalus.apache.org with SMTP; 2 Sep 2003 19:15:33 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 2 Sep 2003 11:26:45 -0700 Received: from 212.11.116.33 by by1fd.bay1.hotmail.msn.com with HTTP; Tue, 02 Sep 2003 18:26:45 GMT X-Originating-IP: [212.11.116.33] X-Originating-Email: [mypost68@hotmail.com] From: "Jaroslav mypost68" To: users@cocoon.apache.org Bcc: Subject: How to process URL with encoded chars? Date: Tue, 02 Sep 2003 18:26:45 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 02 Sep 2003 18:26:45.0172 (UTC) FILETIME=[C3875F40:01C3717F] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I have cocoon 2.1 installed on my windows xp. Everything works fine but - when I pass URL with national characters then it is on the client side transformed to hexadecimal represenation like http://localhost:8888/myweb/cocoonsite1/test3/Testovac%C3%AD%20%C4%8Desk%C3%A9%20jm%C3%A9no.html This is probably represented in the same encoding as the page from which the link is gotten. Now I need to work with the name of the file - in my sitemap.xmap I use match */*.html and then I get second parameter as {2}. The problem is that it is changed and does not correspond to the original URL as needed. The problem seem to be that the http-server uses iso-8859-1 encoding as default. The question is: How to change the encoding in which the URL from client is processed? Thanks a lot. Jaroslav _________________________________________________________________ Plan your week with MSN Weather - http://www.msn.cz/weather/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org