I can't edit some .txt or .html files. Dowload begins instead of opening the editor.
Most of my files are html/texts in Russian, or mixed Russian-English.
If the file contains only a string of Russian or mixed text, this problem ALWAYS appears.
But if the first line is <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> or something, the problem appears ~ in 50% files.
How to switch off that detection of files, and edit all files in text mode?
Thanks.
Sergey.
P.S. Related questions earlier in this forum:
- "Why the file which contain chinese can't be edited? When I edit it,this script show download dialog.But this file is a text file in fact"
- "When I try to Edit just created file, I get "FileDownload" window for fileman.cgi. Then I click "Open", I get second "FileDownload" window, but for file, which I want to edit. But, I means about *.html and *.txt files only!"
Most of my files are html/texts in Russian, or mixed Russian-English.
If the file contains only a string of Russian or mixed text, this problem ALWAYS appears.
But if the first line is <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> or something, the problem appears ~ in 50% files.
How to switch off that detection of files, and edit all files in text mode?
Thanks.
Sergey.
P.S. Related questions earlier in this forum:
- "Why the file which contain chinese can't be edited? When I edit it,this script show download dialog.But this file is a text file in fact"
- "When I try to Edit just created file, I get "FileDownload" window for fileman.cgi. Then I click "Open", I get second "FileDownload" window, but for file, which I want to edit. But, I means about *.html and *.txt files only!"