ColdFusion 9中的JSON数据错误

时间:2013-03-26 10:01:00

标签: json coldfusion coldfusion-9

ColdFusion 9中的我的JSON数据在这一行上给出了错误

Internationally renowned for its coverage of major events.

现在,如果我删除“ it ”这个词,那就可以了。

我将JSON数据粘贴在sublime文本编辑器中,文本看起来不同。见附图

enter image description here

”这个词已成为“ itEMs ”。

任何人都可以告诉我这里发生了什么以及如何处理它?<​​/ p>

1 个答案:

答案 0 :(得分:0)

尝试一些字符串函数......我没有CF编程器,但是有大量的字符串函数......二进制解码/编码可能值得一试......其中包括Asc函数,它将为您提供ascii字符的序数值...诀窍是找到该字符,然后您可以使用Replace方法轻松替换它... http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions-pt0_18.html