Subject | Re: [Firebird-Java] hungarian characters in connection string |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-11-13T20:59:47Z |
> OS: WinXPJayBird JDBC driver in this case "sends" content in the UTF-8 encoding to
> 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?
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