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: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Encoding UTF-8 / Umlauts
  • Date: Thu, 19 Nov 2009 14:23:10 +0100

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




Archive powered by MHonArc 2.6.24.

Top of Page