Subject Re: JSP Turkish Character Problems....
Author Haci Yigit
Roman, thank you for your help. But i changed my code. Now no
exception but some special Turkish characters like '?' this in
database.

Connection conn = DriverManager.getConnection
("jdbc:firebirdsql:localhost/3050:" + database + "?user=" + user
+ "&password=" + password + "&encoding=WIN1254");

Thank you...

--- In Firebird-Java@yahoogroups.com, "Roman Rokytskyy"
<rrokytskyy@a...> wrote:
> >
> >
> > Connection conn = DriverManager.getConnection
> > ("jdbc:firebirdsql:localhost/3050:" + database + "?user=" + user
> > + "&password=" + password
> > + "&useUnicode=true&characterEncoding=WIN1254");
>
> a) useUnicode=true does not have any meaning for Firebird. Where
did you
> find this property?
>
> b) characterEncoding=WIN1254 should be replaced with
encoding=WIN1254.
> Where did you find the characterEncoding property?
>
> > 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 ?
>
> List of properties that can be used with JayBird JDBC driver can be
found
> in Release Notes.
>
> Roman