作者:我爱左_470 | 来源:互联网 | 2018-04-24 01:35
假设在PHP中:$test"selecttop(1)AGG_TABLE0.day,AGG_TABLE0.subNet,AGG_TABLE0.location,AGG_TABLE0.不支持中文relation,cast(100*pmHoPrepSuccpmHoPrepAtt*(pmHoExeSuccpmHoExeAtt)asdecimal(18,2))as'eSrvcc不支持中文',cast(1...";怎么将其中的中文字符替换成unic
编码phpunicode
假设在PHP中:
$test="select top(1) AGG_TABLE0.day,AGG_TABLE0.subNet,AGG_TABLE0.location,AGG_TABLE0.不支持中文relation,cast(100*pmHoPrepSucc
/pmHoPrepAtt*(pmHoExeSucc/pmHoExeAtt) as decimal(18,2)) as 'eSrvcc不支持中文',cast(1...";
怎么将其中的中文字符替换成unicode编码的字符呢呢?其他保持不变。