#30020 [Opn->Fbk]: htmlentities error

From: Date: Wed, 08 Sep 2004 05:46:52 +0000
Subject: #30020 [Opn->Fbk]: htmlentities error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-65905@lists.php.net to get a copy of this message
ID: 30020 Updated by: derick@php.net Reported By: xing at mac dot com -Status: Open +Status: Feedback Bug Type: Strings related Operating System: Linux PHP Version: 4.3.9RC2 New Comment: Can you e-mail me the scripts (in a zip file or something)? I am afraid the bugsystem doesn't handle UTF8 well. Previous Comments: ------------------------------------------------------------------------ [2004-09-08 04:43:08] xing at mac dot com Description: ------------ htmlentities function appears to eat "é<" but correctly handle "é <". Reproduce code: --------------- $str = "Le Café< Café <"; $str = html_entity_decode((htmlentities($str,ENT_QUOTES,"UTF-8")); Expected result: ---------------- "Le Café< Café <" Actual result: -------------- "Le Caf< Café <" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30020&edit=1

« previous php.bugs (#65905) next »