I'm creating a webapp which involves displaying financial data to the user. Being from the UK and using GBP £ for currency, this character is used a lot.
However, every now and then, the £ is shown as a diamond with a question mark in the middle, and on the web page it throws an invalid charachter UTF-8 byte 1 of 1 byte string.
Is there a UTF safe way to display the £
sign? Here is an example of what I am doing at the moment:
"Rent Per Annum: £" + '${tenant.currentRent}'