URL will not take &currency value

Any idea why when trying to do a location redirect using PHP (notice the strange character before after normalAmount=)

Any idea why that’s happening?

https://secure-test.worldpay.com/wcc/purchase?testMode=100&instId=270426&cartId=Employer Registration&desc=Employer Registration&M_custom=company%7C1133%7C1120&futurePayType=regular&option=1&intervalUnit=3&normalAmount=0.01¤cy=GBP

When I view source of the page, I see this which is how the URL should look:

https://secure-test.worldpay.com/wcc/purchase?testMode=100&instId=270426&cartId=Employer Registration&desc=Employer Registration&M_custom=company%7C1133%7C1120&futurePayType=regular&option=1&intervalUnit=3&normalAmount=0.01&currency=GBP

&curren is the HTML code for ¤.

Are you URLEncoding this?

No it’s not being urlencoded. Should I be urlencoding the entire URL?

Yup.