php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #39404 Support "entity" as substitute_character setting
Submitted: 2006-11-06 16:56 UTC Modified: 2007-09-24 11:51 UTC
From: martin dot t dot kutschker at blackbox dot net Assigned: hirokawa (profile)
Status: Closed Package: Feature/Change Request
PHP Version: 5.2.0 OS:
Private report: No CVE-ID: None
 [2006-11-06 16:56 UTC] 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 =>  



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-06 17:09 UTC] martin dot t dot kutschker at blackbox dot net
Fix spelling of "entity" in the summary.
 [2006-11-07 14:27 UTC] bjori@php.net
Reclassified as feature request & assigned to maintainer.
 [2007-09-24 11:51 UTC] hirokawa@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 12:01:27 2024 UTC