Hi

I'am trying to test the new 2.5 snapshot, but I have this error when trying
to update/insert in postgre 7.3 database

ERROR: Could not convert UTF-8 to ISO8859-1

I realize that the error return ISO8859-1 and not ISO-8859-1, but I don't
know if this is an postgre engine error or dbforms validation error.

// --------------------- this is my web.xml fragment:

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
 PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
 "http://java.sun.com/dtd/web-app_2_3.dtd";>

<web-app>

  <filter>
       <filter-name>Set Character Encoding</filter-name>

<filter-class>org.dbforms.util.external.SetCharacterEncodingFilter</filter-c
lass>
     <init-param>
         <param-name>encoding</param-name>
         <param-value>ISO-8859-1</param-value>
     </init-param>
   </filter>

   <filter-mapping>
     <filter-name>Set Character Encoding</filter-name>
       <url-pattern>/*</url-pattern>
   </filter-mapping>



//---------------------- dbforms-config fragment ------------------------

<dbconnection
      isPow2        = "true"
   default     = "true"
      connectionProviderClass =
"org.dbforms.conprovider.ProtomatterConnectionProvider"
   connectionPoolURL       = "jdbc:protomatter:pool:postgresPool"
   name        = "jdbc:postgresql://localhost:5432/db"
   isJndi      = "false"
   conClass      = "org.postgresql.Driver"
   username     = "user"
   password      = "pass"
     >

          <property name="charSet" value="ISO-8859-1" />


  </dbconnection>


I'am trying to update from dbforms 1.13 to 2.5 since I think 2.5.
Using dbforms 1.13 everything is fine. I presume I don't configure encoding
parameters well, any help will be welcome.

TIA

LFung




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to