From:             [EMAIL PROTECTED]
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

Reply via email to