Skip to Content.
Sympa Menu

freetds - Re: [freetds] Encoding UTF-8 / Umlauts

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Christoph Kautz <kautzy AT solution-x.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Encoding UTF-8 / Umlauts
  • Date: Thu, 19 Nov 2009 15:17:38 +0100

Thanks for your reply!

I am using unixODBC 2.2.11 and i have installed the freetds debian packages...

Since everything seems to work when i don't set the tds version in
freetds.conf, I ask mysqlf if there are any downsides with not setting the
tds version :)

chris






-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of Frediano Ziglio
Sent: Thursday, November 19, 2009 2:23 PM
To: FreeTDS Development Group
Subject: Re: [freetds] Encoding UTF-8 / Umlauts

2009/11/19 Christoph Kautz <kautzy AT solution-x.com>:
> Hi again,
>
> now I am totally confused.
>
> If I completely remove the server section from freetds.conf umlauts,
> cyrillic and greek works fine.
>
> So to sum it up... what's not working is:
> ---
> freetds.conf:
>
> [mssql.server]
> host = mssql.server
> port = 1433
> tds version = 8.0
> client charset = UTF-8
> ---
> and freetds.conf:
>
> [mssql.server]
> host = mssql.server
> port = 1433
> tds version = 8.0
> ---
> if I remove the [mssql.server] part compeletely, I have ÖÜÄ and cyrillic
> working with PHP.
>
> But since I also want to access the mssql server from the commandline and
> with ruby-odbc I need the server section in freetds.conf I guess...?
>
> Best regards,
> chris
>
>

Which library do you use to connect with PHP ?? mslib, ctlib or odbc ??
How did you configure freetds?
Perhaps you are using the old protocol and binary encoding. If you say
to FreeTDS to use utf8 you have to supply utf8 encoded data. Probably
you have iso8859-1 data (which is the html default).

freddy77
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds







Archive powered by MHonArc 2.6.24.

Top of Page