ASP.NET FileUpload:土耳其语字符文件名问题 [英] ASP.NET FileUpload: Turkish char filename problem

查看:104
本文介绍了ASP.NET FileUpload:土耳其语字符文件名问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio .NET2005.在我的项目中,如果文件中包含土耳其语字符,当我使用FileUpload ASP.NET控件上载文档(例如,文件名:İşlistesi.doc)时,名称,当我浏览文件时,它的名称看起来正常,但是当我将文档保存到服务器时,文件名的土耳其语字符更改为Enter char(例如:i.listesi.doc). >
我从C#类调用函数,并将土耳其语CharCodes添加到我的ASP.NET C#类中,还向Web.config添加了全球化代码.但这无济于事.

我需要帮助.

I''m using Visual Studio .NET 2005. In my project, when I use the FileUpload ASP.NET control for uploading docs (for example, file name: İşlistesi.doc), if there are Turkish chars in the file name, when I browse the file, its name looks normal, but when I save the doc to the server, the file name''s Turkish characters change to the Enter char (like this: i�listesi.doc).

I''m calling my function from a C# class and I have added Turkish CharCodes to my ASP.NET C# class, and I have also added globalization code to the web.config. But it doesn''t help.

I need help. Thanks!

推荐答案

我想,服务器上未安装土耳其语字符支持,这就是PC无法正确显示字符的原因
I suppose, Turkish char support is not installed on server, that''s why PC is not displaying character properly


这篇关于ASP.NET FileUpload:土耳其语字符文件名问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆