Re: Character encodings for files
Moti Ben-Ari <[email protected]>
| Newsgroups | gmane.editors.jedit.user |
|---|---|
| Message-ID | <CAHCuC+mEf-qySD1ngW056765ZyRhgkL079OrMy+gyB5-oZEv4g@mail.gmail.com> |
Use File/Reload with Encoding to use a different encoding for an individual file. Note that there are a large number of encodings which can be a pain since utf8 is near the end :-(. Go to Utilities/Global Options/Encodings and drag to Selected encoding(s) the ones you need. On Mon, Nov 18, 2019 at 8:03 AM Edward Diener <[email protected]> wrote: > 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 > -- ----------------------------------------------- jEdit Users' List [email protected] https://lists.sourceforge.net/lists/listinfo/jedit-users