English 中文(简体)
网上服务器上的非统一编码文档名称
原标题:Non-unicode filenames on webserver

Recently I ve decided to install an intranet web application (Open Atrium) in our company, but almost immideately I found myself in trouble. We have huge directory - subdirectory file system with mixed Greek (Non Unicode) and English filenames. It seems that neither Apache nor IIS can handle reading or writing these files through browser.

我试图实现的是,在阅读过程中,特别是在上载时,保留无所作为的档案。

Note: Transliteration process is not an option due to renaming files will loose their meaning, thus the existened ammount of files are huge and just cannot be renamed

因此,我的问题是:我是否失踪? 是否有其他服务器(例如联合计算机系统)可耻地处理这一问题?

事先感谢你

我的配置是视窗Xampp,Droupal 6, 开放式Atrium

问题回答

I am not sure what you looking for, but I can give you some tips. The way you handle the files can be setup on web.config under the globalization. One of this parametres maybe need to be change, if its the file name that you can not read, then the fileEncoding must be correctlty set to your file names.

<configuration>
  <system.web>
    <globalization
      fileEncoding="utf-8"
      requestEncoding="utf-8"
      responseEncoding="utf-8"
      culture="en-US"
      uiCulture="de-DE"
    />
  </system.web>
</configuration>

Some MSDN links about globalization.
http://msdn.microsoft.com/en-us/library/39d1w2xf.aspx





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签