php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #66099 Misleading documentation
Submitted: 2013-11-15 08:07 UTC Modified: 2013-11-15 08:09 UTC
From: yakoup46 at yahoo dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2013-11-15 08:07 UTC] yakoup46 at yahoo dot com
Description:
------------
---
From manual page: http://www.php.net/function.htmlentities#refsect1-function.htmlentities-description
---

string htmlentities ( string $string [, int $flags = ENT_COMPAT | ENT_HTML401 [, string $encoding = 'UTF-8' [, bool $double_encode = true ]]] )

suggests that the default for $encoding is 'UTF-8' when in actuality it is 'ISO-8859-1'. I realize later this is documented.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-11-15 08:09 UTC] yakoup46 at yahoo dot com
-Status: Open +Status: Closed
 [2013-11-15 08:09 UTC] yakoup46 at yahoo dot com
I am at fault misread change log.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 01:01:33 2024 UTC