Ask a Question related to PHP Development, Design and Development.
-
iliaa@php.net #1
#25872 [Opn->Bgs]: Query of MS-Word char causes ISO number to show up instead of actual character
ID: 25872
Updated by: [email]iliaa@php.net[/email]
Reported By: mrtima at aol dot com
-Status: Open
+Status: Bogus
Bug Type: MySQL related
Operating System: Any
PHP Version: 4.3.1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit [url]http://www.php.net/support.php[/url] as this bug system is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
You are probably inserting the encoded values into MySQL.
Previous Comments:
------------------------------------------------------------------------
[2003-10-14 15:58:37] mrtima at aol dot com
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:
--------------
’
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=25872&edit=1[/url]
iliaa@php.net Guest
-
#39906 [NEW]: Unable to use place holders as part of the actual SQL query with PDO's
From: iab398 at bham dot ac dot uk Operating system: Unix PHP version: 5.2.0 PHP Bug Type: SQLite related Bug description: ... -
#38929 [NEW]: fputcsv() fgetcsv() inconsistency even number backslashes then enclosure char
From: mike at opendns dot com Operating system: Linux, debian sarge PHP version: 5.1.6 PHP Bug Type: *Directory/Filesystem... -
Number of Character of a string
how do you evaluate the number of characters that made a string? I have to display the string present into a database field. The string is the... -
#26280 [Fbk->Opn]: update query cut off with ascii char > 128
ID: 26280 User updated by: jochen dot daum at cabletalk dot co dot nz Reported By: jochen dot daum at cabletalk dot co dot nz... -
#25872 [NEW]: Query of MS-Word char causes ISO number to show up instead of actual character
From: mrtima at aol dot com Operating system: Any PHP version: 4.3.1 PHP Bug Type: MySQL related Bug description: Query of...



Reply With Quote

