Subject RE: [firebird-support] Jaybird, charset, openoffice (worng forum?)
Author Henrik Sitter
Hi Luca!

I still get same error message. Do you have a short code example that
could educate me?

Error message is:
* Type: com.sun.star.sdbc.SQLException
* Message: GDS Exception. Arithmetic exception, numeric overflow, or
string truncation. Cannot transliterate character between character
sets.

Thx a lot for your input!
Henrik

-----Original Message-----
From: Luca Lafranchi [mailto:luca.lafranchi@...]
Sent: 15. januar 2004 13:25
To: firebird-support
Subject: Re: [firebird-support] Jaybird, charset, openoffice (worng
forum?)

Hi :)

Try using "lc_type" instead of "charset".

Ciao
Luca

Henrik Sitter wrote:

>
> Dim dbInfoData(3) As New com.sun.star.beans.PropertyValue
>
> dbInfoData(0).Name = "user"
> dbInfoData(0).Value = "SYSDBA"
> dbInfoData(1).Name = "password"
> dbInfoData(1).Value = "henrikhenrik"
> dbInfoData(2).Name = "JavaDriverClass"
> dbInfoData(2).Value = "org.firebirdsql.jdbc.FBDriver"
> dbInfoData(3).Name = "charset"
> dbInfoData(3).Value = "ISO-8859-1" 'Have also tried ISO_8859_1,
> ISO8859_1, ISO88591 etc.
>
> oConnection =
>
DatabaseContext.getConnectionWithInfo("jdbc:firebirdsql:localhost/3050:c
> :/Test/Test.fdb", dbInfoData())
>






Yahoo! Groups Links

To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-support/

To unsubscribe from this group, send an email to:
firebird-support-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/