This missing feature is still a big pain, and it would seem like a pretty trivial task to add EUC-JP to the encoding possibilities, given that EUC-KR is already there.
Of course it would be even cooler if the encoding selector would be a window like in EditPad, with an instant preview…
In the meantime I came up with this Python Script (to be used with the Python Script plugin) to reload the current file and convert it from EUC-JP to UTF-8 on the fly:
import codecs
fn = notepad.getCurrentFilename()
f = codecs.open(fn, 'r', 'euc-jp')
text = f.read()
text = codecs.encode(text, 'utf-8')
editor.setText('')
notepad.menuCommand(MENUCOMMAND.FORMAT_UTF_8)
editor.setText (text)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I wish linux version of this great software :)
Open all '#include' with one shortcut.
Greetings from Germany,
Johannes Häfner
Remove trailing spaces and convert tab to spaces on save file.
Auto indent after open a block with { and auto unindent after } like Crimson Editor.
I wish NPP would support SHIFT_JIS and EUC-JP too.
Hello,
I wish project-managment.
What i meen is a filetree that show only the files from the selectet project
(like phase 5 do).
greetings from germany
Heiko Rompel
Hello,
I wish a spell checker + dictionaries so that text editing becomes more convenient.
Greetings from Austria
Edgar Schröder
This missing feature is still a big pain, and it would seem like a pretty trivial task to add EUC-JP to the encoding possibilities, given that EUC-KR is already there.
Of course it would be even cooler if the encoding selector would be a window like in EditPad, with an instant preview…
In the meantime I came up with this Python Script (to be used with the Python Script plugin) to reload the current file and convert it from EUC-JP to UTF-8 on the fly:
import codecs
fn = notepad.getCurrentFilename()
f = codecs.open(fn, 'r', 'euc-jp')
text = f.read()
text = codecs.encode(text, 'utf-8')
editor.setText('')
notepad.menuCommand(MENUCOMMAND.FORMAT_UTF_8)
editor.setText (text)
For post #7:
It is probably easier to use the UniversalIndentUGui plugin to reformat after the fact.
CChris
For post #6:
Simply assign the commands you need to keyboard shortcuts, and then assign a macro to those plus save file.
CChris
Post #4:
Isn't the ASpell plugin providing this already?
CChris
Post #3:
I use the much more flexible FileMatrix http://www.gardenerofthoughts.org/ideas/filematrix/index.htm for this purpose. It s shareware but the unregistered version is good enough.
CChris
Notepad++ in Linux would be a complete rewrite port. No one has dared yet, as he application is native Win32 code.
CChris