[daisy] Problem with Charset for Central-Europe signs

Bruno Dumon bruno at outerthought.org
Wed Jan 31 07:02:09 CST 2007


On Wed, 2007-01-31 at 13:49 +0100, Leszek Albrzykowski wrote:
<snip/>
> 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

Hi,

The Daisy 1.5.0 release indeed had an error in the default configuration
concerning character encoding.

You can adjust your existing installation simply by editing the file

<daisydata>/conf/myconfig.xml

and look in that file for the following line:

<url>jdbc:mysql://localhost/daisyrepository?useServerPrepStmts=false</url>

and add the (?|&)characterEncoding=UTF-8 parameter.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org                          bruno at apache.org



More information about the daisy mailing list