Doc #63166 [NEW]: Problem in htmlentities documentation !

From: Date: Wed, 26 Sep 2012 17:57:37 +0000
Subject: Doc #63166 [NEW]: Problem in htmlentities documentation !
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-8909@lists.php.net to get a copy of this message
From: thomaslepinguin at gmail dot com Operating system: Ubuntui PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:Problem in htmlentities documentation ! 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 bug report at https://bugs.php.net/bug.php?id=63166&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63166&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63166&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63166&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63166&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63166&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63166&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63166&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63166&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63166&r=support Expected behavior: https://bugs.php.net/fix.php?id=63166&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63166&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63166&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63166&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63166&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63166&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63166&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63166&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63166&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63166&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63166&r=mysqlcfg

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