Re: Encoding UTF-8 / Umlauts
Christoph Kautz <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <385BE4BFF3AA1340B4967C107A0157E82354F16FD1@exchsrv.intern.solution-x.com> |
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: [email protected] [mailto:[email protected]] 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 <[email protected]>: > 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 [email protected] http://lists.ibiblio.org/mailman/listinfo/freetds _______________________________________________ FreeTDS mailing list [email protected] http://lists.ibiblio.org/mailman/listinfo/freetds