|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-04-15 14:13 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 20:00:01 2025 UTC |
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