Character encodings for files

Edward Diener <[email protected]>
Newsgroups gmane.editors.jedit.user
Message-ID <[email protected]>
I do not see anything the JEdit settings that lets me control the 
character encoding which certain types of files, or certain types of 
files in certain directories, should be opened with. Does this exist in 
JEdit ? I only noticed a global option for the default encoding. Have a 
I missed something, or does JEdit, or perhaps a JEdit plugin, let me 
control the character encoding with which certain files are opened.

While the default encoding under Windows, Cp1252, works well for the 
vast majority of files there are a number of files which should be 
opened with the UTF8 encoding instead. In particular nearly all git 
files in git repositories are UTF8.

I did notice that once I changed the character encoding for a particular 
file that JEdit retains this even between sessions, so evidently JEdit 
can associate a character encoding with a particular file whenever I 
edit the file. But what I am looking for is the ability to say that all 
the files of a particular file glob within a particular 
directory/subdirectories should be opened with some encoding which is 
not the default encoding.



-- 
-----------------------------------------------
jEdit Users' List
[email protected]
https://lists.sourceforge.net/lists/listinfo/jedit-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.