Fixed issue with rendering of £ sign. See PHPCRED-14
Fixed issue with rendering of £ sign. See PHPCRED-14

--- a/lib/API.php
+++ b/lib/API.php
@@ -84,7 +84,7 @@
     // Build the response
 
     if ((BTMain::getUser()->PortalLogin != 1) || ($cred->hidden !=1)){
-    $pass = htmlspecialchars($crypt->decrypt($cred->Hash,$key));
+    $pass = htmlspecialchars(utf8_encode($crypt->decrypt($cred->Hash,$key)));
     }else{
     $pass = "<span style='font-size: x-small'><i class='icon-ban-circle'></i> You are not authorised to view this password</span>";
     }
@@ -223,3 +223,4 @@
 
 ob_end_flush();
 ?>
+