ID:               35818
 User updated by:  d dot gourgues at neuf dot fr
 Reported By:      d dot gourgues at neuf dot fr
 Status:           Bogus
 Bug Type:         Strings related
 Operating System: Debian
 PHP Version:      5.1.1
 New Comment:

I failed to install php5.1-win32-latest.zip. I've "Unable to initialize
module". I installed wamp server at home with php5.0.1 and htmlentities
works.
I can't remove UTF-8 because greek strings come from database
(html_entity_decode is just to reproduce errors)

so, i patched my function
if ($greek == "Serbia kai maurobounio") return $greek;
else return htmlentities($greek, ENT_QUOTES, "UTF-8");


Previous Comments:
------------------------------------------------------------------------

[2005-12-27 16:13:00] [EMAIL PROTECTED]

Remove the 'utf-8' from those funcs and it works fine. 


------------------------------------------------------------------------

[2005-12-27 16:09:25] [EMAIL PROTECTED]

>I can't install this php version at work
You don't to install it, you just need to compile and test it.

Please upload the test case as I asked.

------------------------------------------------------------------------

[2005-12-27 15:58:43] d dot gourgues at neuf dot fr

I can't install this php version at work, so i can't answer.

I just make a precision. This bug append when u write in a only line :
echo
htmlentities(html_entity_decode("Σερβία
και
Μαυροβούνιο"
, ENT_QUOTES, "UTF-8"), ENT_QUOTES, "UTF-8");

Add a space between α and κ
and between ι and Μ

------------------------------------------------------------------------

[2005-12-27 15:10:08] [EMAIL PROTECTED]

If you're still able to reproduce it - please put the code somewhere in
the net and paste the link here.

------------------------------------------------------------------------

[2005-12-27 15:09:14] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip



------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/35818

-- 
Edit this bug report at http://bugs.php.net/?id=35818&edit=1

Reply via email to