Reply to Re: Php retreiving data from mssql and special characters

Your name:

Reply:


Posted by Chung Leong on 07/11/06 15:58

deciacco wrote:
> Discovered more information:
>
> I changed my code from using
> $dbh = DB::connect("mssql://sa:password@192.168.0.1/northwind"); to
> simply using the freetds connection
>
> putenv("FREETDSCONF=/etc/freetds.conf");
> $db=mssql_connect("MyServer2k","sa","password");
>
> (freetds.conf setting)
> [MyServer2k]
> host = 192.168.0.1
> port = 1433
> tds version = 8.0
>

Try adding the line

client charset = cp1250

or
client charset = utf8

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация