0

I am using jFileUpload control and it worked great till now..

But now i am facing problem in uploading the files having chinese name like abc教程.mp4

I tried the following..

<param name ="resources" value="i18n"/>

as well...

The control shows the file name in jFileUpload Progress Message perfectly..

But it shows abc??.mp4 in java consol..

Please help me out here.. Is there anything i am missing? is there anything i need to do with IIS..since i am running my application on IIS Server..?

4

2 回答 2

0

抱歉,我是 apache 用户,但您可以在 html 中尝试:

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />

或 http 标头中的这个(在 IIS 设置中设置或使用某种服务器端脚本功能)

Content-Type: text/html; charset=utf-8
于 2012-08-27T07:31:27.483 回答
0

只需要在 jFileUpload 中添加这个参数

<param name="encoding" value="UTF8">

..完美解决了..!

于 2012-08-29T04:47:40.160 回答