[gnome-db] gda_freetds and UTF-8 solution



Hello,
I am using freetds and libgda1.1.99 and I have a problem with UTF-8:

libgda always use iso_1.
with freetds only i can use the freetds.conf option 
client charset = UTF-8
to use a iconv valid charset, but libgda always use iso_1

My solution is comment this line:
tds_set_client_charset(tds_cnc->login, "iso_1");
in gda-freetds-provider.c,line 250.

I think that this can be a bug.


About my other prtoblem with libgda-freetds, I don't have any solution:

when I make this select (for example):

select name from table
And I must get something like this:
AAAA
BBB
CC
D

I get

AAAA
BBBA
CCBA
DCBA

and I must use
select  name + space(5) from table

Any idea?
--
Miguel Angel Pons <miponme navegalia com>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]