Re: Encoding UTF-8 / Umlauts
Frediano Ziglio <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
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