PreviousNextTracker indexSee it online !

(165/205) 3328961 - Default character encoding per path/server regex

I work with many remote servers which often have files in different encodings so it's not enough just one global default encoding in this case.
It would be nice to have a possibility to define default encodings for particular severs.
(see also http://community.jedit.org/?q=node/view/4766)

Submitted ru1234 - 2011-06-24 - 23:02:08z Assigned nobody
Priority 5 Category None
Status Open Group None
Resolution None Visibility No

Comments

2011-06-25 - 01:39:31z
ezust
Perhaps "path regex" makes more sense than "server" since server only means something when you are using the FTP plugin.
A mapping of path regexes to encodings would be quite convenient.
Perhaps that should also include line separator character.


2011-06-25 - 01:44:48z
ru1234
ezust, you're right, particularly about line separator (I forgot about it).

From other hand, different charsets are rare when on the same machine. It is much more hot for remote servers, so I would put "path/server" in the topic.
2013-04-05 - 05:29:54z
ezust
From the file system browser, you can right click a folder and go to encoding, and select the default encoding for opening files under that location. How different is that from what you are asking?

2013-04-05 - 05:38:40z
ezust
I suppose there still needs to be a gui to see/remove/edit the different path/encoding pairs in the encoding options pane.
2013-04-05 - 11:07:00z
ru1234
> From the file system browser, you can right click a folder and go to
encoding, and select the default encoding for opening files under that
location. How different is that from what you are asking?

Hmm.. Didn't know about this opportunity.
Though, encoding chosen for a particular folder resets every time default encoding is changed.
Encoding settings are not portable between installations as well.
Considering aforementioned, I think those settings should be saved somewhere explicitly.

Attachments