I am struggling to get forms displayed on a server -
UNIX machine running Cocoon 2.1.5 and JDK 1.4
(the same app works **fine** on the development
machine, running the same configuration, as well as
on a Linux server...)
The error message I get when trying to show the form
(filled with data from the database) is:
org.apache.cocoon.ProcessingException:
Failed to execute pipeline.:
java.lang.RuntimeException:
org.xml.sax.SAXException:
Attempt to output character of integral value 160 that is not represented in
specified output encoding of .
[and no, there is no word missing just before the above "full stop"]
Based on mailing list and wiki suggestions I have tried:
<form action=... method="post" accept-charset="ISO-8859-1">
also:
<?xml version="1.0" encoding="ISO-8859-1"?>
in the form, *and* the stylesheet processing the form for display
also, in cocoon.xconf
<jdbc name="pool_name">
<pool-controller min="5" max="10"/>
<dburl>jdbc:mysql://YourHostName:3360/YourDataBaseName?useUnicode=true&characterEncoding=ISO-8859-1</dburl>
<user>database_user</user>
<password>database_password</password>
</jdbc>
NB - I am not trying to use any complex characters - inputs
should be "plain" English!
Is there a "Definitive Guide to Using Encoding" anywhere??
Thanks
Derek
--
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
[EMAIL PROTECTED]
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]