Community
    • Login

    Plugin 'AutoCodepage v1.2.7' für 'notepad++ v8.7.4' funktioniert nicht

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 3 Posters 213 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Hein DaddelH
      Hein Daddel
      last edited by

      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

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Hein Daddel
        last edited by PeterJones

        @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 65001 is my friend (though in your case, I have never tried it in combination with a redirected dir output in a batch, so I don’t know for sure if it will honor the chcp encodings 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”)

        datatraveller1D 1 Reply Last reply Reply Quote 1
        • datatraveller1D
          datatraveller1 @PeterJones
          last edited by datatraveller1

          @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) panel

          This works properly for me and OEM 850 is shown in the status bar if I open a file with filename extension .oem850

          PeterJonesP 1 Reply Last reply Reply Quote 2
          • PeterJonesP
            PeterJones @datatraveller1
            last edited by PeterJones

            @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.

            datatraveller1D 1 Reply Last reply Reply Quote 2
            • datatraveller1D
              datatraveller1 @PeterJones
              last edited by

              @PeterJones said in Plugin 'AutoCodepage v1.2.7' für 'notepad++ v8.7.4' funktioniert nicht:

              Sorry

              No problem, no need to say Sorry :-)

              1 Reply Last reply Reply Quote 2
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors