Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/252.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在PHP中破译数字代码_Php_String_Numbers - Fatal编程技术网

如何在PHP中破译数字代码

如何在PHP中破译数字代码,php,string,numbers,Php,String,Numbers,我正在使用PHP函数email()发送一个小文本,但此文本具有外国字体系列,在我的电子邮件中,我得到如下内容: &"4304"和#4321; & #4307;& #4304;& #4321;& #4307 我正在使用fontAcad Nusx Geo。我怎样才能在我的电子邮件中获得普通文本?是否有任何函数?您可能希望使用该函数将给定字符串转换为html实体与字体无关,但字符集很重要:类似于echo html_entity_decode(ა;ს;დ;ა;&#

我正在使用PHP函数
email()
发送一个小文本,但此文本具有外国字体系列,在我的电子邮件中,我得到如下内容:

&"4304"和#4321; & #4307;& #4304;& #4321;& #4307


我正在使用font
Acad Nusx Geo
。我怎样才能在我的电子邮件中获得普通文本?是否有任何函数?

您可能希望使用该函数将给定字符串转换为html实体

与字体无关,但字符集很重要:类似于
echo html_entity_decode(ა;ს;დ;ა;ს;დ;ს;დ;&#entu COMPAT,'UTF-8')