Skip to Content.
Sympa Menu

freetds - Re: [freetds] support to UTF-8 charset?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "odbclist" <odbc AT imarte.net>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] support to UTF-8 charset?
  • Date: Wed, 12 Mar 2003 12:33:01 -0600

Hi James, tnx for your help and your wellcome. Actually, i'm working with:

RH 8.0
freetds-0.61
unixODBC-2.2.5
libiconv-1.7
gettext-0.11.5
MSSQL 2000

everything looks well, however I found some undefined reference to liviconv
in the config.log when compiling FreeTDS

/usr/local/src/freetds-0.61/configure:3959: undefined reference to
`libiconv_open'
/usr/local/src/freetds-0.61/configure:3960: undefined reference to
`libiconv'
/usr/local/src/freetds-0.61/configure:3961: undefined reference to
`libiconv_close'

are these messages found frequently?

P.D sorry by my late response

Saludos!





----- Original Message -----
From: "James K. Lowden" <jklowden AT schemamania.org>
To: "odbc" <odbc AT imarte.net>; "FreeTDS Development Group"
<freetds AT lists.ibiblio.org>
Sent: Wednesday, March 05, 2003 8:54 PM
Subject: Re: [freetds] support to UTF-8 charset?


> On Wed, 05 Mar 2003 22:47:42 , "odbc" <odbc AT imarte.net> wrote:
> >
> > Somebody working with UTF-8 charset?... I'm working with
> >
> > Linux RH 8 ==>FreeTDS ==>UnixODBC==Php
> > and everything is ok except when work with other charset.
> > the question is, how can i configure the support to UTF-8 charset?
> > my initial configuration is:
> >
> > ./configure --with-tdsver=7.0 --with-unixodbc=/usr/local
> > --enable-msdblib and i have changed the freetds.conf in this way
> >
> > [FreeTDS]
> > host = 10.1.12.96
> > port = 1433
> > tds version = 7.0
> > client charset = UTF-8
> >
> > but it doesn't work, maybe i can work with this configuration?
> >
> > ./configure --with-tdsver=7.0 --with-unixodbc=/usr/local
> > --enable-msdblib --with-libiconv-prefix=DIR
>
> Hi Marte,
>
> You're on the right track. You need to configure
> --with-libiconv-prefix=DIR, where "DIR" points to "lib/libiconv.so". If
> you're using 0.61, you can test your results with tsql and TDSDUMP; the
> top of the log file will show how libiconv is initialized.
>
> Write back if you need more help. Welcome to the project.
>
> --jkl
>




Archive powered by MHonArc 2.6.24.

Top of Page