[daisy] Problem with Charset for Central-Europe signs

Leszek Albrzykowski lalbrzykowski at eo.pl
Wed Jan 31 06:50:38 CST 2007


Patrik.Dudits at rwe.com napisał(a):

>That could be caused by servlet container encoding. Are you using bundled Jetty, or some other application server? However ensure following parameters are set for Cocoon:
>
><webapp>
>...
>  <servlet>
>    <servlet-name>Cocoon</servlet-name>
>    ...
>
>    <init-param>
>      <param-name>container-encoding</param-name>
>      <param-value>ISO-8859-1</param-value>
>    </init-param>
>
>    <!--
>      Set form encoding. This will be the character set used to decode request
>      parameters. If not set the ISO-8859-1 encoding will be assumed.
>    -->
>    <init-param>
>      <param-name>form-encoding</param-name>
>      <param-value>UTF-8</param-value>
>    </init-param>
>   </servlet>
>...
></webapp>
>
>
>
>S pozdravom / Best Regards / Mit fruedlichen Grüßen
>
>Mgr. Patrik Dudits
>RWE Systems Slovakia, s. r. o.
>Juzna trieda 6
>040 01 Kosice / Slovakia
>
>patrik.dudits at rwe.com
>  
>
>>-----Original Message-----
>>From: daisy-bounces at lists.cocoondev.org [mailto:daisy-
>>bounces at lists.cocoondev.org] On Behalf Of Leszek Albrzykowski
>>Sent: Wednesday, January 31, 2007 12:33 PM
>>To: daisy at lists.cocoondev.org
>>Subject: [daisy] Problem with Charset for Central-Europe signs
>>
>>Hi all,
>>I've started to work with Daisy about month ago. I've installed my
>>aplication using Daisy-1.5 and MySQL 5.x. Everything was OK and I was
>>real excited about this CMS and how easy I can configure it and menage.
>>But few days ago I've found problem that I'm still try to resolve,
>>unfortunetly without result. I'm preparing Daisy CMS for Polish and
>>Hungarian language, and during the installation process I've selected
>>this two languages. The problem is like in title with charset. for
>>application I use UTF-8 encoding and it's also set for MySQL and for
>>each table in Daisy database. Ive tried to install it also in UTF-8
>>system environment on Linux, but the problem still exist. What is
>>strange for me, that I can't use polish letters only for the titles of
>>the document and all signs are converted and put to database as "?"
>>sign. In article body there is no problem with use CE letters.
>>Thank's for help and any goals that can resolve my problem,
>>Leszek
>>_______________________________________________
>>daisy community mailing list
>>Professional Daisy support:
>>http://outerthought.org/site/services/daisy/daisysupport.html
>>mail to: daisy at lists.cocoondev.org
>>list information: http://lists.cocoondev.org/mailman/listinfo/daisy
>>    
>>
>_______________________________________________
>daisy community mailing list
>Professional Daisy support: http://outerthought.org/site/services/daisy/daisysupport.html
>mail to: daisy at lists.cocoondev.org
>list information: http://lists.cocoondev.org/mailman/listinfo/daisy
>
>  
>
Hi,
Thank's for quickly reply.
Unfortunetly your idea doesn't work in my Daisy... But what I've found 
can be useful for all who have same problem. As I sad in my first post 
I've used Daisy-1.5, and during installation process I've left some part 
of configuration as a default. Two hours ago I tried to instal new 
Daisy-1.5.1 and I was asked about:

Enter database URL:
jdbc:mysql://localhost/daisyrepository?useServerPrepStmts=false&characterEncoding=UTF-8 


Enter database URL
jdbc:mysql://localhost/activemq?characterEncoding=UTF-8

As you can see in this version the charset is set as deafault to UTF-8.

I'll try to reinstall old release of Daisy with setting this option 
manualy and response about results.
Thx one more time,
Leszek





More information about the daisy mailing list