Plugin 'AutoCodepage v1.2.7' für 'notepad++ v8.7.4' funktioniert nicht
-
Hallo, in einer Batchdatei leite ich mit dir > Datei.oem850 den Verzeichnis-Inhalt in eine Datei um.
In AutoCodepage habe ich die Einstellungen so vorgenommen, wie in den Internet-Beispielen dargestellt. Lade ich die erstellte Datei Datei.oem850 in notepad++, wird nicht die Codierung OEM 850 aktiviert. In der Statuszeile steht weiterhin UTF-8. Ich kann OEM 850 manuell aktivieren, aber dann brauche ich ja AutoCodepage nicht mehr. Hast Du einen Tip für mich, wo hier das Problem liegt? Gruß Hein -
@Hein-Daddel said in Plugin 'AutoCodepage v1.2.7' für 'notepad++ v8.7.4' funktioniert nicht:
Do you have a tip for me as to where the problem lies?
Unfortunately, no algorithm for detecting code page can work 100% of the time. That’s one of the reasons that Unicode encodings are so much better than the 80’s code pages.
chcp 65001is my friend (though in your case, I have never tried it in combination with a redirecteddiroutput in a batch, so I don’t know for sure if it will honor thechcpencodings in that case)If Notepad++ had a command-line option for specifying the code page for the file you are opening, you could set it using the command line… But, alas, it does not. It’s probably worth a feature request (see “FAQ: Feature Request”)
-
@PeterJones said in Plugin 'AutoCodepage v1.2.7' für 'notepad++ v8.7.4' funktioniert nicht:
Unfortunately, no algorithm for detecting code page can work 100% of the time.
As far as I have understood this plugin, AutoCodepage is not used for detecting a code page but for opening a file with a specific extension in a specific code page.
This is set up in the AutoCodepage settings, e.g.
Group name:OEM 850 files
New filename extension(s):.OEM850
Code page to set:OEM 850
click+below the Group name panel
click+below the filename extension(s) panelThis works properly for me and OEM 850 is shown in the status bar if I open a file with filename extension .oem850
-
@datatraveller1 said in Plugin 'AutoCodepage v1.2.7' für 'notepad++ v8.7.4' funktioniert nicht:
As far as I have understood this plugin
Sorry, I didn’t notice the word “plugin” and version in the title, and was just thinking “AutoCodepage” was a translation of the translation for the “autodetect encoding” preference. Sorry for not correctly interpreting the question.
-
@PeterJones said in Plugin 'AutoCodepage v1.2.7' für 'notepad++ v8.7.4' funktioniert nicht:
Sorry
No problem, no need to say Sorry :-)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login