RE: [PHP-I18N] Is htmlentities multi-byte safe?
[email protected] ("Jerry Schwartz") Mon, 19 May 2008 10:35:37 -0400
| Newsgroups | php.i18n |
|---|---|
| Message-ID | <08e501c8b9bd$9bd6c400$d3844c00$@com> |
Thanks. Regards, Jerry Schwartz The Infoshop by Global Information Incorporated 195 Farmington Ave. Farmington, CT 06032 860.674.8796 / FAX: 860.674.8341 www.the-infoshop.com www.giiexpress.com www.etudes-marche.com From: Isaak Malik [mailto:[email protected]] Sent: Sunday, May 18, 2008 8:26 AM To: Jerry Schwartz Cc: [email protected] Subject: Re: [PHP-I18N] Is htmlentities multi-byte safe? htmlentities() is multi-byte compatible, you do have to pass UTF-8 as third argument to the function to add multi-byte support. More info: www.php.net/htmlentities On Wed, May 7, 2008 at 8:19 PM, Jerry Schwartz <[email protected]> wrote: The changelog for html_entity_decode says that it is multi-byte safe starting with 5.0.0. What about htmlentities? There's no note there. Regards, Jerry Schwartz The Infoshop by Global Information Incorporated 195 Farmington Ave. Farmington, CT 06032 860.674.8796 / FAX: 860.674.8341 www.the-infoshop.com www.giiexpress.com www.etudes-marche.com -- PHP Unicode & I18N Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Isaak Malik Web Developer