mwanly Posted October 26, 2013 Share Posted October 26, 2013 Hello everyone i have SQL Server database which connected PHP by odbc_connect like this : <$dsn = "Driver={SQL Native Client};Server=$MyServer;Database=$MyDB; Uid=$MyUser;Pwd=$MyPass;";> <$dsn = "Driver={SQL Server};Server=$MyServer;Database=$MyDB;"; > <$conn = odbc_connect($dsn, $MyUser, $MyPass);> my problem is how can i set the character in this connection ?? i have data result like this : ????????? please anyone help me . Quote Link to comment https://forums.phpfreaks.com/topic/283298-encoding-and-characterset-php-and-sql-server-by-odbc/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.