Monday, January 19, 2015

Encede HTML Entity and URI Escape

use HTML::Entities;
use URI::Escape;

$state = HTML::Entities::encode($state);
$state = uri_unescape($state);