-1

我有以下字符串:

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.

如果我使用类似的东西,htmlentities我会得到以下字符串:

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.

但是我想获取 WINDOWS-1252 实体,例如:

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.

我尝试过使用不同的功能,例如mb_convert_encoding, iconvget_html_translation_table但我无法找到一种方法来做到这一点。

任何帮助,将不胜感激。

4

1 回答 1

0
于 2014-03-23T21:50:38.300 回答