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: "James K. Lowden" <jklowden AT schemamania.org>
  • To: odbc <odbc AT imarte.net>, FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] support to UTF-8 charset?
  • Date: Wed, 5 Mar 2003 21:54:06 -0500

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