Subject Re: [Firebird-Java] hungarian characters in connection string
Author Roman Rokytskyy
> OS: WinXP
> FBServer 1.5.1 - embedded
> JDBC: 1.5.4
>
> I am connecting to an embedded database where the db file is in a
> directory which has hungarian characters (c:\program files\válami)
> I connect using
> DriverManager.getConnection(sqlurl+dbase+"?
> lc_ctype=UNICODE_FSS",user,pass)
> where sqlurl and dbase are java String variables
>
> Connecting this whay gives me an I/O error for file createfile (open)
>
> If I change the dir name to something without hungarian chars
> (c:\program files\valami) it works perfectly
>
> I tried searching in the faq but couldn't find anything related to this
> Could you help me?

JayBird JDBC driver in this case "sends" content in the UTF-8 encoding to
the server (in your case it passes it to the embedded server library). I
suspect that the library does not "understand" UTF-8. Try using some
WINXXXX or ISOXXXX encoding (I think WIN1252 should be sufficient for
"á"). Also ask in the Firebird-Support list, it might be limitation of
Firebird.

Roman