Subject | Re: JSP Turkish Character Problems.... |
---|---|
Author | Haci Yigit |
Post date | 2005-03-14T13:04:04Z |
Connection conn = DriverManager.getConnection
("jdbc:firebirdsql:localhost/3050:" + database + "?user=" + user
+ "&password=" + password
+ "&useUnicode=true&characterEncoding=WIN1254");
I use this code to connect FireBird! But still it gives same
exception when i insert a record that includes Turkish caracters.
Where is my mistake ?
Thank you for your help.
--- In Firebird-Java@yahoogroups.com, "Haci Yigit" <jxactive@y...>
wrote:
("jdbc:firebirdsql:localhost/3050:" + database + "?user=" + user
+ "&password=" + password
+ "&useUnicode=true&characterEncoding=WIN1254");
I use this code to connect FireBird! But still it gives same
exception when i insert a record that includes Turkish caracters.
Where is my mistake ?
Thank you for your help.
--- In Firebird-Java@yahoogroups.com, "Haci Yigit" <jxactive@y...>
wrote:
>write
>
> I create Users.gdb database, it's CHARSET WIN1254, it has just one
> table called Names. It has two field "Name" and "Surname". It keeps
> strings. These fields charset and collate are WIN1254.
>
> I have a form page (User.jsp), user enter his/her name and surname,
> then click the save button. It calls saveRecord.jsp. This page
> the name and surname informations into Users.gdb database. But it
> gives this exception :
>
> "org.apache.jasper.JasperException: GDS Exception. 335544321.
> arithmetic exception, numeric overflow, or string truncation
> Cannot transliterate character between character sets"