I am trying to make an api call using PHP
. One of the parameters is currency
My API call goes like
<?php
$call=".....¤cy=USD&.......";
$response = hash_call("Pay", $call);
?>
But if I print the call, it prints out as
....¤cy=USD&.......
I checked and found out that ¤ is for ¤
Edit: I tried urlencode, and htmlentities. While I hope to get ¤cy in the source, I am getting %26currency , & amp;currency respectively.
I want to encode '¤cy', such that the browser does not convert ¤ to ¤. Thanks