php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31316 htmlentities('Hol� como estas') return bad translation
Submitted: 2004-12-28 01:30 UTC Modified: 2004-12-29 10:53 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: jairo dot serrano at gmail dot com Assigned:
Status: Not a bug Package: Strings related
PHP Version: 5.0.3 OS: linux 2.6.8
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: jairo dot serrano at gmail dot com
New email:
PHP Version: OS:

 

 [2004-12-28 01:30 UTC] jairo dot serrano at gmail dot com
Description:
------------
the function htmlentities is broken

Reproduce code:
---------------
htmlentities('Hol? como estas');


Expected result:
----------------
holà como estÃs


Actual result:
--------------
holá como estaás

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-29 00:49 UTC] jairo dot serrano at gmail dot com
not work with iso-8859-1 or iso-8859-15.. but UTF-8 works again
 [2004-12-29 10:53 UTC] derick@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. 

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 13:01:28 2025 UTC