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 1.3k Views 2 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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 Offline
              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

              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
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors