1
我期待通过WDDXWDDX和俄语字符
将数据转换为XML输出。然而在俄语字符输出崩溃 - 我得知这是发生 - 但是我愿意为解决方案如果有人知道,这个方法可以解决吗
守则如下:
<cfwddx action="cfml2wddx" input="#variables.csPages#" output="variables.xmlOutput" />
<cfset variables.xmlOutput = ReplaceNoCase(variables.xmlOutput, "<", "<", "all")>
<cfset variables.xmlOutput = ReplaceNoCase(variables.xmlOutput, ">", ">", "all")>
<cfset variables.xmlOutput = '<?xml version="1.0" encoding="UTF-8"?>' & variables.xmlOutput>
<cffile action="write" file="#variables.filePath#" output="#variables.xmlOutput#" charset="utf-8" />
错误如下: 字符串文字是意料之中的,但没有打开引号字符找到。错误处理资源“文件:/// d:/ csroot的/ dev/C ...
<var name='includePageTitle'><string>1</string></var><var name='IncludeRightColumn'><string...PAN>> </DIV> <char code="0a" />
你会得到什么样的错误信息? –
参见上面...... – user2029952
你可以给我们一个'variables.csPages'输入的例子吗?不必是完整的,只是足以强制这个问题,所以我们可以模拟你在本地做什么。你能否也请发布实际的错误(行号,代码提取,堆栈跟踪的顶部等) –