将十六进制字符串解码为拉丁字符


Decode hex string to latin characters

我有字符串:

tomas

有解码的字符串tomas

我发现有 hec 解码类型: http://www.codetable.net/unicodecharacters

在PHP中是否存在将十六进制编码为拉丁字符的功能?

这些不是十六进制字符,而是 HTML 实体。

PHP 可以使用 html_entity_decode() 对它们进行解码。