Return-Path: Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 13106 invoked by uid 500); 7 Jul 2003 14:59:31 -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 13092 invoked from network); 7 Jul 2003 14:59:30 -0000 Received: from tlau5p.thomsonlearning.com (198.80.140.46) by daedalus.apache.org with SMTP; 7 Jul 2003 14:59:30 -0000 Received: from ohcinmail04.tl.thomcorp.net (ohcinmail04 [198.80.170.139]) by tlau5p.thomsonlearning.com (Switch-3.0.4/Switch-3.0.0) with ESMTP id h67ExNmZ020081 for ; Mon, 7 Jul 2003 10:59:26 -0400 (EDT) Received: from ohcinmail05.tl.thomcorp.net ([198.80.170.54]) by ohcinmail04.tl.thomcorp.net with Microsoft SMTPSVC(5.0.2195.5329); Mon, 7 Jul 2003 10:59:26 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Form encoding problem in cocoon 2.0.4 Date: Mon, 7 Jul 2003 10:59:25 -0400 Message-ID: <7C06DAEA0A0EC144BD478D26AE686C9055D7D1@ohcinmail05.tl.thomcorp.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Form encoding problem in cocoon 2.0.4 Thread-Index: AcNElhD4K8Wlm/6LR9ePk1n6MMlRygAAYFCQ From: "Yan, Charlene" To: X-OriginalArrivalTime: 07 Jul 2003 14:59:26.0184 (UTC) FILETIME=[5BC4AE80:01C34498] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks for your reply. I did what you said and it didn't help. I think = the key is to change the meta tag declaration. I do not know where to = set it. Charlene -----Original Message----- From: Bruno PIERRE [mailto:brunopierre4@yahoo.fr] Sent: Monday, July 07, 2003 10:45 AM To: users@cocoon.apache.org Subject: Re: Form encoding problem in cocoon 2.0.4 in all your file put and in all your xsl file (in simple-page3html.xsl) put I've done that yesterday and now it works. ----- Original Message ----- From: "Yan, Charlene" To: Sent: Monday, July 07, 2003 4:32 PM Subject: RE: Form encoding problem in cocoon 2.0.4 Joerg, My case was that I called cocoon from another web application. I had to = set the encoding of the calling html page to ISO-8859-1. Now I'm using a = htnl page generated by Cocoon. The default meta tag is . = How or where can I change it to ISO-8859-1 from UTF-8? I've changed the encoding of form.xml, simple-page3html.xsl and sitemap.xmap to ISO-8859-1. It = didn't help. What is the source code that sets the meta tag? More = specifically, I'm using Cocoon 2.1 M2. you can go to http://localhost:8080/cocoon/samples/mail/sendmail/new.html. On this = page, the meta is set to UTF-8. I need to have it changed to ISO-8859-1 to = have some accented characters encoded correctly. Thanks in advance for any help. Charlene -----Original Message----- From: Joerg Heinicke [mailto:joerg.heinicke@gmx.de] Sent: Wednesday, July 02, 2003 1:42 PM To: users@cocoon.apache.org Subject: Re: Form encoding problem in cocoon 2.0.4 Sorry, but: please don't do this!! Even if ISO-8859-1 is the correct encoding, you shall not add the tag by hand. The serializer does it for you. So you will simply set the serializer's encoding to ISO-8859-1. But UTF-8 is a super set of ISO-8859-1, so there should be no problem when using it. The working "text" inputs show this. Now "file" inputs: Why do they depend on the form encoding? Shouldn't they simply allow to upload a file? Am I missing something? Joerg Yan, Charlene wrote: > I had encoding problems with accented characters too. Put = in your html. iso-8859-1 is the correct one. > > HTH. > > Charlene > > -----Original Message----- > From: Vitor Rui Moreira [mailto:vrm@biodata.pt] > Sent: Wednesday, July 02, 2003 1:10 PM > To: users@cocoon.apache.org > Subject: Form encoding problem in cocoon 2.0.4 > > > Hi! > > I'm having a little problem about form encoding. > First of all, let me describe the development environment: > - Tomcat 4.1.24 > - Cocoon 2.0.4 > - RedHat 9 > > Now, the problem: > I've got a webpage, which has a form inside. There are several input > fields, mostly of type "text". There is also a input field of type = "file". > If i click on the "submit" button, i'll go other page (a xsp one), = which > displays the contents of the parameters (passed through request and > sitemap). > While the values of the input which have the type "text" are correct, > the field which has the "file" type isn't. The error occurs when i use > accents (=E9=E8=E1, etc). > I'm using UTF-8 encoding on all pages. > > My tries to solve the problem: > 1) changed the web.xml file of cocoon > ($TOMCAT_HOME/webapps/cocoon/WEB-INF/web.xml), which i included the > "form-encoding" parameter to UTF-8 > 2) on the same file, i've tried to set the "container-encoding" value = to > UTF-8 (ok, i'm almost desesperating! ;-)) > > My opinion: > Since the "text" type works correctly and the "file" type doesn't, i > suspect that the "form-encoding" is not so right after all... but it's > only my opinion, based on my cocoon's ignorance... ;-) > > Critical features: > 1) i just can't upgrade the cocoon engine because i've got legacy > applications running on that... at least, i can't change right now... = :-( > > F1 wanted! If anyone could help me, i'd appreciate!! > > TIA > > -vrm --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org