0

while i am querying from mssql server 2008 with php codes, Turkish characters are not supported. I made the default character set to UTF8 but still it doesn't work. Your kind help will be higly appreciated. Regards,

We have problem with turkish characters as follows: ığüşiöç IĞÜŞİÖÇ

Hanifeoglu
  • 49
  • 2
  • 11
  • Please post your query! – Khanh Tran Apr 01 '13 at 15:25
  • What database driver/extension are you using? `mssql_*`, `pdo_dblib` or `pdo_sqlsrv`? – DCoder Apr 01 '13 at 15:36
  • @Khanh Tran me use sql code : select * from tbstok – Hanifeoglu Apr 01 '13 at 15:44
  • "xxx", "UID"=>"xxx", "PWD"=>"xxx"); $conn = sqlsrv_connect( $serverName, $connectionInfo ); if( $conn === false ) { die( print_r( sqlsrv_errors(), true)); } $sql = "select * from tbstok"; $stmt = sqlsrv_query( $conn, $sql ); if( $stmt === false) { die( print_r( sqlsrv_errors(), true) ); } while( $row = sqlsrv_fetch_array( $stmt, SQLSRV_FETCH_ASSOC) ) { ?> – Hanifeoglu Apr 01 '13 at 15:53
  • Try this one: [link](http://stackoverflow.com/questions/5122940/fix-turkish-charset-issue-html-php-iconv/9758237#9758237) – Khanh Tran Apr 01 '13 at 16:42

0 Answers0