Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.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
SSRS Goto URL解码和编码_Url_Reporting Services_Character_Goto - Fatal编程技术网

SSRS Goto URL解码和编码

SSRS Goto URL解码和编码,url,reporting-services,character,goto,Url,Reporting Services,Character,Goto,当通过数据字段传递url值时,我遇到了一个问题 我在goto url中传递值,如下所示 ="javascript:void(window.open('file:" &Fields!url.Value &"','_blank'))" url value = /servername/foldername/FormuláriodeCalibração.xls 在internet explorer中部署并打开报告并单击url后。它正在像这样更改url ="javascript:voi

当通过数据字段传递url值时,我遇到了一个问题

我在goto url中传递值,如下所示

="javascript:void(window.open('file:" &Fields!url.Value &"','_blank'))"

url value = /servername/foldername/FormuláriodeCalibração.xls
在internet explorer中部署并打开报告并单击url后。它正在像这样更改url

="javascript:void(window.open('file:" &Fields!url.Value &"','_blank'))"

url value = /servername/foldername/FormuláriodeCalibração.xls
/servername/foldername/FormulÃRiodelibraçÃo.xls

因此,我无法打开该文件


请在这方面帮助我。

最后,我们想出了一个解决方案,用HTML ASCII代码替换葡萄牙语的非ASCII字符

例如,这是附件的实际文件名

TE-5180Formuláriodecadibraço(modelo)1271440308393(2)1338379011084.xls

我们将葡萄牙语字符替换为HTML ASCII代码

TE-5180Formuláriodecadibraço(modelo)1271440308393(2)1338379011084.xls 在这些更改之后,上面修改的URL将被传递到实际URL的位置,当它到达服务器时,它被正确解码并按预期工作