News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

ProDevTips.com:
HTML entity encoding everything
January 30, 2008 @ 12:57:00

On the ProDevTips site, Henrik has pointed out a handy application that can make HTML encoding characters outside the norm in PHP simple.

The standard htmlentities() function will encode special characters so that they display OK in the browser. However, sometimes you might want to encode different languages to entities too. I just found a script that will do that in the form of an html encode application.

He includes an example showing how to encode a string of non-english characters out to an easy-to-display HTMLified string.

0 comments voice your opinion now!
html encode entity anything script application download brianhuisman


blog comments powered by Disqus

Similar Posts

Chris Hartjes' Blog: CakePHP Application Deployment: RFC

Steponas Kazakevicius' Blog: Interruptable file download

Derick Rethans' Blog: PHP 4.4.5RC1 available for testing

Job Posting: Active Media Architects Seeks PHP Web Application Programmer (St. Clair Shores, MI)

WebDevLogs: ClickHeat - PHP+JS heatmap


Community Events

Don't see your event here?
Let us know!


version framework series api interview voicesoftheelephpant laravel5 opinion library unittest community language example php7 introduction podcast release laravel security video

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework