Bug #16151 Updated: French special characters
| From: | bs_php at infeer dot com | Date: | Sun, 21 Apr 2002 10:26:37 +0000 |
| Subject: | Bug #16151 Updated: French special characters | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-5497@lists.php.net to get a copy of this message | ||
ID: 16151
Updated by: bs_php@infeer.com
Reported By: cris@tellme.net
Status: Bogus
Bug Type: MSSQL related
Operating System: windows 200
PHP Version: 4.1.2
New Comment:
setlocale() on windows is the problem!
See bug #16718
http://bugs.php.net/bug.php?id=16718
Previous Comments:
------------------------------------------------------------------------
[2002-03-19 04:21:40] sander@php.net
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php
------------------------------------------------------------------------
[2002-03-18 13:32:55] cris@tellme.net
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 this bug report at http://bugs.php.net/?id=16151&edit=1