• Login
Community
  • Login

Notepad++ v8.1.2 license strange symbols

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 349 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.
  • П
    Программист Нулла
    last edited by Aug 6, 2021, 1:29 PM

    I got update 8.1.2 and strange symbols were in user license instead of organisation title in several places.

    License was in English. Program is generally used in Russian but English is also used as one of languages. OS is Windows 7 64-bit.

    Hope to contribute a little to a good project.

    1 Reply Last reply Reply Quote 0
    • M
      mere-human
      last edited by Aug 6, 2021, 7:16 PM

      Provide screenshot and debug info, please.

      1 Reply Last reply Reply Quote 1
      • П
        Программист Нулла
        last edited by Aug 10, 2021, 8:39 PM

        https://imgur.com/a/2rRl8NC

        Sadly I was not accurate with my info.

        It seems there was not all title wrong but only quotation marks.

        Also I found that I actually have a 32-bit version of Notepad++ on actual 64-bit Windows, that was unexpected.

        P.S.
        I don’t know how to get License from already installed Notepad++, so I tried to download and try installing it over existing version, I got installing to step with license showing then made a screenshot and cancelled.
        (I wonder if this way may be helpful for somebody as it was not immediately obvious method).

        P 1 Reply Last reply Aug 10, 2021, 9:09 PM Reply Quote 0
        • P
          PeterJones @Программист Нулла
          last edited by PeterJones Aug 10, 2021, 9:12 PM Aug 10, 2021, 9:09 PM

          @Программист-Нулла ,

          Those are meant to be “smart quotes” (the curly quotes).

          I don’t know how to get License from already installed Notepad++

          In your instance, with 32bit NPP on 64bit OS, and an installed Notepad++, if you open c:\program files (x86)\notepad++\license.txt, you will see that Notepad++ shows those as curly quotes

          c34d7c4e-7097-4d62-bb93-212a02b6561b-image.png

          Technical details

          Apparently, the installer window is displaying the License in an “ANSI encoding” (probably Windows-1252 ) – ie, one byte per character. Since smart quotes at U+210C and U+210D require 3 bytes, E2 and 80 and 9C or 9D , those are getting displayed as the E2 => â, 80 => €, and 9C/9D => œ/ (all of which match what you showed: 9D is an undefined character in Win-1252, so might show as an unknown character indicator or might show as a zero-width character or an empty space character).

          The culprit was commit ab5c1d3 , which upgraded the repo’s LICENSE file from GPL v2 to GPL v3, and in the process added “smart quotes” instead of the "normal quotes" that were in the old license. (That implies that the bug has been there since v7.9.3)

          next steps

          You could create a bug report issue (following instructions in this faq), making sure to embed the screenshot in your issue report using the markdown code ![](https://i.imgur.com/szaQJx5.png) . If you include the commit ID ab5c1d3 in your issue report, that will give them confirmation of exactly where/when the bug showed up. The fix would be either for them to update LICENSE to use only normal quotes, or for them to upgrade the dialog box in the installer to properly display a UTF-8-encoded license file.

          1 Reply Last reply Reply Quote 2
          • П
            Программист Нулла
            last edited by Aug 11, 2021, 10:19 AM

            OK, I started issue on GitHub here

            1 Reply Last reply Reply Quote 3
            4 out of 5
            • First post
              4/5
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors