Is htmlentities multi-byte safe?

View: New views
3 Messages — Rating Filter:   Alert me  

Is htmlentities multi-byte safe?

by Jerry Schwartz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Re: Is htmlentities multi-byte safe?

by Isaak Malik-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <jschwartz@...>
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

RE: Is htmlentities multi-byte safe?

by Jerry Schwartz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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:isooik@...]
Sent: Sunday, May 18, 2008 8:26 AM
To: Jerry Schwartz
Cc: php-i18n@...
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 <jschwartz@...>
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