Ich have a MSSQL table with a NVARCHAR field. There are values from different languages:
I just want to see these values in my browser.
I chose UTF-8 as charste:
I tried direct access by php:
and all I see are uqestion marks instead of russian or chinese characters.
I also tried access using ODBC or ADO. But it didn't work, too.
Thank you very much,
Kai

I just want to see these values in my browser.
I chose UTF-8 as charste:
Code:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
I tried direct access by php:
Code:
$msconnect = mssql_connect($dbhostname, $dbuser, $dbpassword) ;
$db = mssql_select_db($dbname, $msconnect) OR die ("Fehler bei mssql_select_db");
$select = "SELECT * FROM $dbname.$dbowner.tblTest";
$result = mssql_query ($select);
while( $row = mssql_fetch_array($result))
{
printf("%s - %s<br>",$row["id"],$row["xtext_nvc"]);
}
and all I see are uqestion marks instead of russian or chinese characters.
I also tried access using ODBC or ADO. But it didn't work, too.
Thank you very much,
Kai