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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: martin dot t dot kutschker at blackbox dot net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC