问题原文
原帖链接 · Adam · CC BY-SA 3.0
I have created a pdf under the name André.pdf on my server. However, I am not sure if this is the actual filename.
I first assumed André.pdf is the actual filename because I can access it through
www.mydomain.net/Andrè.pdf
However, when I connect with Filezilla to my server I see the following filename depending on the charset options:
André.pdf(Detect charset automaticly)André.pdf(Force UTF-8)André.pdf(Using charset iso8859-1)
If I use the terminal to access the folder via ssh I see André.pdf.
What is the actual filename on my server and how can I find it out? Is it Andrè.pdf because I can access it withwww.mydomain.net/Andrè.pdf? If this is the case, what do I need to change in FileZilla to display the file correctly?
已采纳解答
原帖链接 · Simon Hayter · CC BY-SA 3.0
The real filename would be exactly the same filename you originally named it. Your only limitation is that set out by the operating system and the filesystem.
OK, so looking at Comparison of file systems if you only care about the main players file systems:
- Windowz (FAT32, NTFS): Any Unicode except
NULand/- Mac(HFS, HFS+): Any valid Unicode except
:- Linux(ext[2-4]): Any byte except
NULso any byte except
NUL,/,:and you can't have files/folders call.or..
(Source)
Applications may use CHARSETS but this isn't renaming the file locally, its simply translating the file, the original file renames unchanged.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
