cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robby Pelssers <Robby.Pelss...@nxp.com>
Subject RE: Multipage CForm using Ajax - Non ascii Characters
Date Mon, 14 Jan 2013 14:22:36 GMT
You will probably need to encode the characters if you make an ajax call…

        var  somevalue = encodeURIComponent(“this is a value to be encoded”);

Robby

From: Peter Sparkes [mailto:peter@didm.co.uk]
Sent: Monday, January 14, 2013 3:18 PM
To: Cocoon users
Subject: Multipage CForm using Ajax - Non ascii Characters

Hi

Cocoon 2.11

I have implemented a multipage CForm which uses Ajax. The form is based on the example at

            http://cocoon.zones.apache.org/cocoon21/samples/blocks/forms/do-multipage.flow

The  form works fine except that it does not save non ascii characters correctly eg.
É €  ç  £


If I use one very long form without Ajax the above characters are correctly saved

Help please, How can I fix this problem


Peter

Mime
View raw message