Doc #63166 [Opn->Nab]: Problem in htmlentities documentation !

From: Date: Thu, 15 Nov 2012 12:47:30 +0000
Subject: Doc #63166 [Opn->Nab]: Problem in htmlentities documentation !
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9153@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=63166&edit=1 ID: 63166 Updated by: krakjoe@php.net Reported by: thomaslepinguin at gmail dot com Summary: Problem in htmlentities documentation ! -Status: Open +Status: Not a bug Type: Documentation Problem Package: Documentation problem Operating System: Ubuntui PHP Version: Irrelevant Block user comment: N Private report: N New Comment: 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. The prototype is correct. The PHP manual show prototypes from the latest release of PHP. Previous Comments: ------------------------------------------------------------------------ [2012-09-26 17:57:37] thomaslepinguin at gmail dot com Description: ------------ Sorry for my english it's not my mother language. I have spend 1 hour of debugging because your header function on the doc tell us that default charset encoding is UTF-8 (string htmlentities ( string $string [, int $flags = ENT_COMPAT | ENT_HTML401 [, string $encoding = 'UTF-8' [, bool $double_encode = true ]]] )) but in fact the real one is ISO-8859-1 as specified in the encoding section bellow on this page. Thanks to change the header to avoid that someone else have the same problem. --- From manual page: http://www.php.net/function.htmlentities#refsect1- function.htmlentities-description --- ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63166&edit=1

« previous php.doc.bugs (#9153) next »