Hello jdbforms-interest,
I'm trying to use DbForms under Tomcat 4.0.6.
I use following directive in my jsp pages
<%@ page contentType="text/html; charset=windows-1251" %>.
I see the data from DB in the correct charset windows-1251.
But when I post the data to the DB I've got values ?????? for my db fields.
Where should I do conversion from "ISO-8859-1" charset to the
"Cp1251"?
May be there is the best way to do this?
In my old JServ there was a parameter for default encoding.
Thanks.
Hi Serge,
time ago I had a similar problem with Postgresql, where accented characters from the db were substituted by '?' characters on rendered jsp pages.
The problem was a not-optimal configuration of the underlying jdbc driver.
Actually, I use the following JDBC url string:
jdbc:postgresql://localhost/myDB?charSet=ISO-8859-1
[note the charSet=ISO-8859-1 parameter and its value] and it works for me.
Regards, Luca
------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ DbForms Mailing List
http://www.wap-force.net/dbforms
