jEdit Community - Resources for users of the jEdit Text Editor
Plugin to change encoding easily
Submitted by raspi on Thursday, 27 July, 2006 - 11:35
Hi,

I'd like to see plugin that allows to change encoding quickly. Like ISO-8859-1 to UTF-8, ISO-8859-15 to UTF-8, ISO-8859-1 to HTML, etc.. I'm tired of doing search & replaces n+1 times.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
I totally second this request
by priitoorn on Tue, 08/08/2006 - 14:54
I totally second this request! At least jEdit could give a simple warning (and maybe a dialog with options what to do) if the chosen character encoding doesn't support some symbols.

For example, right now if you:
1. create file in ISO-8859-1
2. insert there 'abc©®def'
2. convert the character encoding to something else ... lets say ISO-8859-4
3. save the file

result: It just brutally converts every symbol that the target character encoding doesn't have (right now © and ®) to question marks '?' without any warning or notice, so in the result file you have 'abc??def'. Even plain windows notepad.exe behaves better!

expected result: jEdit opens a dialog with warning that some characters doesn't exist in the target encoding. It also gives options what to do:
1. Replace those symbols with ? marks (same as current action)
2. Convert those symbols in question to html entities! (specially it should be default option if you are saving html, xhtml or xml files)
3. Replace with [ ] (text input field)
4. Option to change the file into another encoding (that supports those symbols - similiar to notepad.exe behaviour)

NB! I don't want it to be separate plug-in, but jEdit's default behaviour when saving files and/or converting character encoding
Try the buffer options
by fixedsys on Thu, 27/07/2006 - 13:32
Hi,

did you try the buffer options?

Utilities -> Buffer Options -> Character encoding

HTML is not a character encoding. But you can set the "Edit mode" in the same dialog f.e. to use syntax highlighting.

I have no big experiences with encodings but I hope it helps.

Lars
User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293