Subject Re: Hungarian characters in database url
Author nagypapi
Nobody confirmed nor rejected this issue, so I'll try again:
Should I be able to use hungarian characters (like á) in the PATH of
the embedded server connection string (under winXP)? (program
files\válami didn't work through JDBC)
>
> >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.