|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16163 bug for french characters
Submitted: 2002-03-19 06:25 UTC Modified: 2002-03-19 07:43 UTC
From: cris at tellme dot net Assigned:
Status: Not a bug Package: MSSQL related
PHP Version: 4.1.2 OS: windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: cris at tellme dot net
New email:
PHP Version: OS:


 [2002-03-19 06:25 UTC] cris at tellme dot net
Here is the script that is supposed to insert in a MS SQL Server database some data including special french characters:

        // establish connection to database
	$li=mssql_connect("server", "user","password");
         // text to insert, written in french
	$test='voil? ?a c&#039;est la probl?me';
	$query="insert into toto values ('".$test."')";
	$rez = mssql_query("SET LANGUAGE french");
	$rez = mssql_query($query);

        // extract from db the data just inserted
	$query="SELECT test from toto";
	$toto = mssql_fetch_array ($qresp);

        // display the result
	echo $toto[0]; 

Here is what the database contains:
     voila ta c&#039;est la problFme

No french special characters at all.

Cris Badea
Web Developer
Tellme SA


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-19 07:43 UTC]
Do NOT reopen a new report, reopen the old one.
 [2002-03-21 03:35 UTC] cris at tellme dot net
is this a bug or not???? just anser me!!!!!!!
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 16 00:01:27 2024 UTC