php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32705 special characters
Submitted: 2005-04-14 19:08 UTC Modified: 2005-04-15 14:13 UTC
From: agapater at yahoo dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 5.0.4 OS: Windows Xp
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: agapater at yahoo dot com
New email:
PHP Version: OS:

 

 [2005-04-14 19:08 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-15 14:13 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 14 17:01:34 2025 UTC