Bug #16151: French special characters

From: Date: Mon, 18 Mar 2002 18:32:55 +0000
Subject: Bug #16151: French special characters
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-2784@lists.php.net to get a copy of this message
From: cris@tellme.net Operating system: windows 200 PHP version: 4.1.2 PHP Bug Type: MSSQL related Bug description: French special characters Hello i want to insert in a MSSQL server 2000 some informations that are typed in french with éèàç etc.. like this : <? setlocale("LC_ALL","french"); $li=mssql_connect("cris", "sa",""); $db=mssql_select_db('v2tellme',$li); $test='éèçà'; $query="insert into toto values ('".$test."')"; $rez = mssql_query("SET LANGUAGE french"); echo $query; $rez = mssql_query($query); $query="SELECT test from toto"; $qresp=mssql_query($query); $toto = mssql_fetch_array ($qresp); echo $toto[0]; mssql_close($li); ?> and after that in the database is just this TFta WHY???????????? i am not understanding!!!!!!!!!!!!!!!!!!!????? PLEASE HELP ME !!!!!!!!!!!!!! thank you fou your help , Cris Badea Web Developer Tellme SA -- Edit bug report at http://bugs.php.net/?id=16151&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16151&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16151&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16151&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16151&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16151&r=support Expected behavior: http://bugs.php.net/fix.php?id=16151&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16151&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16151&r=submittedtwice

« previous php.bugs (#2784) next »