I have the following string:
LONDON — Britain’s unemployment rate held steady in the three months through January, reinforcing the Bank of England’s case for keeping interest rates at a record low.
If I use something like htmlentities
I get the following string:
LONDON — Britain’s unemployment rate held steady in the three months through January, reinforcing the Bank of England’s case for keeping interest rates at a record low.
However I want to get WINDOWS-1252 entities instead such as:
LONDON — Britain’s unemployment rate held steady in the three months through January, reinforcing the Bank of England’s case for keeping interest rates at a record low.
I've tried using different functions such as mb_convert_encoding
, iconv
, get_html_translation_table
but I'm unable to find a way to do this.
Any help would be appreciated.