#32705 [Opn->Bgs]: special characters
| From: | sniper@php.net | Date: | Fri, 15 Apr 2005 12:13:22 +0000 |
| Subject: | #32705 [Opn->Bgs]: special characters | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-77590@lists.php.net to get a copy of this message | ||
ID: 32705
Updated by: sniper@php.net
Reported By: agapater at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: MySQL related
Operating System: Windows Xp
PHP Version: 5.0.4
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 http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2005-04-14 19:08:30] agapater at yahoo dot com
Description:
------------
I have just updated to php 5.0.4
Somehow, the romanian special characters(ãîºþâ) retrieved from mysql
are not recognized, instead I get only "?".
I haven't changed anything in the database, I use a similar php.ini
This is not a html encoding problem, I use the right encoding:
iso-8859-2
Also, <?php print "ãîºþâ"; ?> works just fine
I didn't have this problem in php 5.0.2 or any other previous versions
Reproduce code:
---------------
I think this is irrelevant, but here it is:
$sqlEv = mysql_query("select eveniment from epi_foto_eveniment order
by id_eveniment desc limit 0,4");
while($row = mysql_fetch_array($sqlEv))
{
print ".$row['eveniment']."<br>\r\n";
}
Expected result:
----------------
Întâlnirea tinerilor din Protopopiatul Marghita
Searã de priveghere pentru Sfântul Pãrinte la Sf. Gheorghe
Marº pentru Sfântul Pãrinte
Actual result:
--------------
?nt?lnirea tinerilor din Protopopiatul Marghita
Sear? de priveghere pentru Sf?ntul P?rinte la Sf. Gheorghe
Mar? pentru Sf?ntul P?rinte
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32705&edit=1