Return-Path: X-Original-To: apmail-cocoon-users-archive@www.apache.org Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6C8DF9314 for ; Fri, 31 Aug 2012 09:24:05 +0000 (UTC) Received: (qmail 93235 invoked by uid 500); 31 Aug 2012 09:24:04 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 93080 invoked by uid 500); 31 Aug 2012 09:24:03 -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 List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 93038 invoked by uid 99); 31 Aug 2012 09:24:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2012 09:24:02 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [77.240.18.35] (HELO webmail1.louhi.net) (77.240.18.35) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2012 09:23:58 +0000 Received: by webmail1.louhi.net (Postfix, from userid 33) id B4EB119C0A5; Fri, 31 Aug 2012 12:23:35 +0300 (EEST) To: Subject: RE: encoding issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 31 Aug 2012 12:23:35 +0300 From: In-Reply-To: <927C66C0775CCA43B88EB1E3006614B3186FD660@eu1rdcrdc1wx032.exi.nxp.com> References: <927C66C0775CCA43B88EB1E3006614B3186FD576@eu1rdcrdc1wx032.exi.nxp.com> <70a331ed27de20933cbb1477447d03a6@digikartta.net> <927C66C0775CCA43B88EB1E3006614B3186FD660@eu1rdcrdc1wx032.exi.nxp.com> Message-ID: <95dab60c14fd7fb10d63cede5865987f@digikartta.net> X-Sender: mika@digikartta.net User-Agent: Louhi Webmail/0.4.2 X-Virus-Checked: Checked by ClamAV on apache.org Ok, could it have something to do with those locale settings? Just a wild guess, because I really don't know how to use them. Thanks anyway, - mika- P.S. Those > org.apache.cocoon.containerencoding=utf-8 > org.apache.cocoon.formencoding=utf-8 BTW are in web.xml at C2.1. They only effect so that the question mark turns into "monkey head". I have all my pages UTF8-encoded (the file itself) and with utf8-tags. have to check those xlst's also. On Fri, 31 Aug 2012 10:24:57 +0200, Robby Pelssers wrote: > Problem is I'm not using C2.1.x anymore so it's really hard to > properly help you out here. > > I know that for C2.2 we have to set 2 properties: > org.apache.cocoon.containerencoding=utf-8 > org.apache.cocoon.formencoding=utf-8 > > > As a side note: Check encoding in your xslt's > > indent="yes"/> > > Robby > > -----Original Message----- > From: mika@digikartta.net [mailto:mika@digikartta.net] > Sent: Friday, August 31, 2012 9:33 AM > To: users@cocoon.apache.org > Subject: RE: encoding issue > > > Hi, > yep, if I got you right, problems appear somewhere between the > submit > and the outcome of the bind, at server side. Container is Tomcat 6. > Something like this: > flowscript: > form.createBinding("cocoon:/form_" + id + "_bind"); > form.save(doc); > cocoon.sendPage("vastaus-display-pipeline.jx", {title: "blaah, > blaah..", document: doc, id: id} > > sitemap: > (this is for the dynamic binding..) > > > > > > > > and: > > > label="content1"> > value="{flow-attribute:locale}"/> > > > > value="{flow-attribute:locale}"/> > > > > > > value="{request:contextPath}/_cocoon/resources"/> > > value="{flow-attr:locale}"/> > > > value="{flow-attribute:locale}"/> > > > > > value="dojo.transport"/> > > > > src="resource://org/apache/cocoon/forms/resources/IframeTransport-bu-styling.xsl"/> > > > > > > > > > > > > > > and the #{$document} in the jx-template has lost scands > > - mika - > > > On Fri, 31 Aug 2012 09:19:04 +0200, Robby Pelssers > wrote: >> Hi Mika, >> >> Some questions: >> - are you having problems submitting forms where the data is not >> received server side as UTF-8? >> - what application container are you using? Tomcat, Jetty, ... >> >> Robby >> >> -----Original Message----- >> From: mika@digikartta.net [mailto:mika@digikartta.net] >> Sent: Wednesday, August 29, 2012 12:37 PM >> To: users@cocoon.apache.org >> Subject: encoding issue >> >> >> Hi. >> >> C2.11 and CForms. I loose scands after binding, they are all >> replaced >> by a question mark. I have read all the sites possible to resolve >> this, >> but without luck. All is UTF-8, except container-encoding >> iso-8859-1. >> Changing container to utf-8 will change the question marks to some >> other >> wrong ones and will do other harms. >> What next? Checking the source code? >> >> - mika - >> >> >> --------------------------------------------------------------------- >> 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 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org