|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-10-14 17:36 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 06:00:01 2025 UTC |
Description: ------------ When certain MS-Word characters such as (?) are returned from a query in MySQL and displayed to a webpage, you see ’ instead. MS-Word parenthesis = ? Standard ASCII paranthesis = ' Reproduce code: --------------- //database connection params include("db_conn.php"); //the database should have a MS-Word parenthesis in it (?) $result = mysql_query("SELECT textvalue FROM anytable"); $fetch_result = mysql_fetch_object($result); //display result to a webpage echo $fetch_result->textvalue; Expected result: ---------------- ? Actual result: -------------- ’