3 use Test::More tests => 6;
5 BEGIN { use_ok('PLP::Functions') }
8 Entity(q{<a test="'&'"/>}),
9 "<a test="'&'"/>",
14 Entity(" . . . .\t. \n"),
15 " . . . . . <br>\n",
20 EncodeURI("/test.plp?f00=~_a&b!\n "),
21 '/test.plp?f00%3d~_a%26b!%0a%20',
26 DecodeURI('?f0%30+%20b%61r!'),
32 DecodeURI('%0A%0a%a %000 %fg%%fF'."\377"),
33 "\n\n%a \0000 %fg%\377\377",