Skip to content

Short PHP script to convert HTML entities to normal chars

Notifications You must be signed in to change notification settings

boerredus/acents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

acents

Stupidly short PHP script to decode HTML special chars. I use it most to convert HTML acent characters (e.g á) to normal acent characters (e.g á).

However, it can also be used to convert ALL and every html_entities.

Usage

php acents.php "á é í ó ú"
// Which will be decoded to "á é í ó ú".

If no argument is passed, and exception is thrown.

You can learn more about HTML acents here and here.

Happy coding!

About

Short PHP script to convert HTML entities to normal chars

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages