Proposal for "HTML_Entities"

» Metadata » Status
» Description
This package allow to convert utf-8 text to html entities and vice-versa. It provides functions similar to php functions html_entity_decode, htmlentities and get_html_translation_table, but it works natively in utf-8, and contains ALL defined HTML entities.

You have options to use named or numerical entities, and to only use entities compatible with a specific HTML version.
» Dependencies » Links
  • PEAR
  • PHP >= 5.0.0
» Timeline » Changelog
  • First Draft: 2008-04-01
  • Proposal: 2008-04-01
  • Call for Votes: 2008-04-21
  • Charles Brunet
    [2008-04-02 18:28 UTC]

    * Converted to PHP5 (static classes, const instead of define)
    * Wrote private static functions instead of using create_function
    * Detect illegal characters in XML files
    * throw exceptions when errors occur
  • Charles Brunet
    [2008-04-21 14:13 UTC]

    * minors updates on package and on examples. Ready to submit it.