#39404 [Opn]: Support "entity" as substitute_character setting

From: Date: Mon, 06 Nov 2006 17:09:38 +0000
Subject: #39404 [Opn]: Support "entity" as substitute_character setting
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-104480@lists.php.net to get a copy of this message
ID: 39404 User updated by: martin dot t dot kutschker at blackbox dot net -Summary: Support "entitiy" as substitute_character setting Reported By: martin dot t dot kutschker at blackbox dot net Status: Open Bug Type: mbstring related PHP Version: 5.2.0 New Comment: Fix spelling of "entity" in the summary. Previous Comments: ------------------------------------------------------------------------ [2006-11-06 16:56:19] martin dot t dot kutschker at blackbox dot net Description: ------------ It would be great if the charset conversion could also output SGML/HTML entites for missing characters in the output charset. The option "long" is not very HTML-friendly. But with "entity" any Unicode aware browser could deal with the missing charater. eg mbstring.substitute_character=long => U+3000 mbstring.substitute_character=entity =>   ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39404&edit=1

« previous php.bugs (#104480) next »