Community
    • Login

    Find in Files does not find nor display Umlauts

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 3 Posters 1.1k 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.
    • ungesundes-halbwissenU
      ungesundes-halbwissen
      last edited by

      Hi everybody,

      find in files stopped finding Umlauts in existing (aka unaltered) files since upgrading to 7.7.1.

      I have opened a bug report on github back in June (#5825) which seems to have gone unnoticed. You can read a lenghty description of the problem and see screenshots in the github issue -> https://github.com/notepad-plus-plus/notepad-plus-plus/issues/5825

      I’m a bit desperate atm since this is a MASSIVE problem for my project work and for a start I’d be glad, if anyone could confirm this issue (so I can be sure, it isn’t only me)

      Thanks for your time!

      John

      Alan KilbornA EkopalypseE 2 Replies Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @ungesundes-halbwissen
        last edited by

        @ungesundes-halbwissen said:

        I’m a bit desperate atm since this is a MASSIVE problem for my project work

        I fail to see why you are desperate. You’ve done a nice job logging the issue. Simply downgrade for the moment…

        1 Reply Last reply Reply Quote 2
        • EkopalypseE
          Ekopalypse @ungesundes-halbwissen
          last edited by

          @ungesundes-halbwissen

          I can confirm that reported behavior.
          The reason why you find after modifying one of the files, which by the way isn’t necessary, is that
          npp seems to search in the opened files instead of the file on the disk. As soon as you close the file you will see that it is not found again. I’m suspecting some initialization, which is done when loading the file isn’t done when using find in files.

          1 Reply Last reply Reply Quote 2
          • ungesundes-halbwissenU
            ungesundes-halbwissen
            last edited by

            Thanks for taking the time to response Alan & Ekopalype

            @Alan-Kilborn “desperate” might have been a word too dramatic ;-) I was (and still am) afraid, that the new version of notepad++ screws up the encoding of my files in a way I don’t understand. And as I noticed it only after working on a LOT of different files, before noticing the bug, it would be quite a task to refind all the files I have opened using 7.7.1 BUT…

            if @Ekopalypse is right and n++ find in files functionality simply does not work at all on not-opened files, things might be not as badas I thought initally. I’ll test that and will report back. Thanks for the hints!!

            I downgraded right away and am sticking to 7.6.6. ever since ofc ;-)

            Alan KilbornA 1 Reply Last reply Reply Quote 2
            • Alan KilbornA
              Alan Kilborn @ungesundes-halbwissen
              last edited by

              @ungesundes-halbwissen said:

              n++ find in files functionality simply does not work at all on not-opened files

              Here’s how (I’m pretty sure) it works:

              It plows through all of the matching files on disk, one at a time. One of the first things it does is see if the file on disk it is about to process is already open in Notepad++. If it is, it works with the (modified) data in the editor tab rather than the file on disk.

              1 Reply Last reply Reply Quote 2
              • ungesundes-halbwissenU
                ungesundes-halbwissen
                last edited by

                Ok, I double-checked. It seems Ekopalypse has a point here and find in files does not work at all for Umlauts …which is a relief as it means that I have no unknown number of wrongly encoded files in my project ;-) Thanks for all your hints and assistance @Alan-Kilborn & @Ekopalypse !!

                EkopalypseE 1 Reply Last reply Reply Quote 4
                • EkopalypseE
                  Ekopalypse @ungesundes-halbwissen
                  last edited by

                  @ungesundes-halbwissen

                  from my short test it looks like it is working for utf8 encoded but not for “ansi”
                  encoded files if those files haven’t been loaded into the current session.

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