cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: cforms + htmlarea, how to fix html?
Date Fri, 23 Dec 2005 16:06:15 GMT
Joose Vettenranta wrote:
> Hello,
>
> I'm using cforms and in there I have htmlarea. I have tried this way:
>
> cocoon.procesPipelineTo("html2xml",{},output);
>
> <map:match pattern="html2xml">
>      <map:generate type="html">
>       <map:parameter name="form-name" value="content" />
>      </map:generate>
>      <map:serialize type="xml" />
> </map:match>
>
> This solution works like 99% of the time..  Problems come when I use Ä 
> Ö or Å character (problem not present with äöå). problem also is 
> present with that word-style - sign, which is more larger and prob. 
> with more characters.. It encodes those to entities, but like this: 
> #123; .. so data what is saved to DB has entities and I don't want to 
> have entities there. Encoding is utf-8 so encoding isn't needed.

Have you checked that the serializer encoding is really UTF-8? Also, is 
the database column setup to accept UTF-8 characters?

Sylvain

-- 
Sylvain Wallez                        Anyware Technologies
http://bluxte.net                     http://www.anyware-tech.com
Apache Software Foundation Member     Research & Technology Director


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message