Categories

  • Announcements regarding our community
    297 Topics
    5k Posts
    Lukas MayrL

    @PeterJones
    Thank you for adding the MSI-Installer section.

    The usual switches for silent/passive/… installation work just fine out of the box with the .msi.

    @donho
    For the .exe installer there are the Notepad++ -specific options, like /noUpdater
    These options seem to be missing from the .msi package

    For instance: in the putty installer you have the option to set your own install-directory by changing the property of INSTALLDIR

    msiexec /i "putty-64bit-0.83-installer.msi" /q INSTALLDIR="C:\Tools"

    Screenshot 2025-11-21 070153.png

    Those Options seem to not yet exist in the npp-msi installer
    Screenshot 2025-11-21 070257.png

  • Frequently Asked Questions and Guides (about Notepad++ and this Forum)

    37 Topics
    62 Posts
    PeterJonesP

    You have likely found this page, or been directed to this page, because you were wondering about how to

    The list of Operating Systems (OS) that Notepad++ supports is published at https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/SUPPORTED_SYSTEM.md

    There is a footnote regarding Windows Vista and Windows Server 2008, both of which are officially unsupported: The last release of Notepad++ that worked on those ancient OS versions was Notepad++ v8.4.6. However, the footnote indicates, “The current version of Notepad++ built by GCC can be run under Vista & Server 2008”. Some users, who are interested in preserving historic computing, or have working hardware that is old enough to only be able to run such old OS, are confused by that statement, or wonder how they can get “the current version of Notepad++ built by GCC”. (Two examples of such posts are here and here.)

    When updates are pushed to the Notepad++ repository, a slew of versions are built, including some built by the GCC compiler instead of Microsoft’s compiler used by Visual Studio. Those versions are not used in the published releases of Notpead++, however, they are built from the same source code, so have all the same functionality.

    Main Steps

    The steps for installing the newest Notepad++ onto Vista or Server 2008 are as follows:

    Install the newest Notpead++ normally, or unzip the newest portable edition of Notepad++, noting whether you are using the 32-bit or 64-bit Notepad++. Verify that notepad++.exe doesn’t run on your computer. (If it does, you don’t need to follow the remaining steps.) Obtain the notepad++.exe built by GCC using one of the two sections below: Recent Release or Older Release Replace your installed or portable notepad++.exe with the executable downloaded in step 3. Run the replaced notepad++.exe, and verify it does run on your computer. Artifacts

    When the GCC builds are automatically run on the GitHub servers, the executables are kept for up to 90 days from the time of the build; however, that retention period is also influenced by how many artifacts a project generates: Notepad++ generates a lot of artifacts, so sometimes the artifacts for a release are not available for the full 90-day period.

    If the artifacts are still retained for the most recent release, then you can follow the procedure in Recent Release (below) to obtain the GCC-built executable. If those artifacts are gone, you will have to use the similar procedure in Older Release, though make sure you read that section thoroughly for unique .

    Recent Release Go to https://github.com/notepad-plus-plus/notepad-plus-plus/releases/latest where it has the little -o- icon and 7-9 hex digits, click on that hex number
    2c11d2fe-18e2-4f48-b7d2-50e3ff54dc41-image.png It should have a green checkmark (or less likely, a red X): click it
    82185f3a-d05b-47c9-893c-1d2cfbac6305-image.png In the popup, click any of the Details links (it doesn’t matter which one)
    b116fae8-972b-4796-a0db-c3f4c3d97b88-image.png Click on the Summary button
    c5d81331-849f-4c5e-82aa-e57d54f088ce-image.png Scroll down to the Artifacts at the bottom of that Summary page, and pick the …GCC.i686.Release if you want 32-bit Notepad++, or …GCC.x86_64.Release if you want the 64-bit Notepad++
    0d0757f8-b8a1-4709-8c8b-05e5a237afe8-image.png That downloaded artifact will be a zipfile containing a single (unsigned) notepad++.exe

    Once you have unzipped the artifact, you can continue with step 4 in the Main Steps

    Older Release

    If the artifact from the most recent release is no longer stored in GitHub, you can instead grab the most-recent build. However, you need to understand that builds made since the most recent release have code in them that has never gone through the Release Candidate verification: it passes all the automated testing, but there may be edge cases that have not yet been found or fixed. One should only use the most-recent build instead of a release build when those risks are understood.

    Go to https://github.com/notepad-plus-plus/notepad-plus-plus/actions and find the most-recent commit to the master, and click on that row. Look for the Artifacts at the bottom. Find the link with “GCC” in the name with the right version (64-bit is x86_64, 32-bit is i686, or ARM64) – assuming you have 64-bit Vista, then it would be Notepad++.GCC.x86_64.Release. Click the appropriate artifact, which will download a zipfile. Open the zipfile and extract the executable from it

    Once you have unzipped the artifact, you can continue with step 4 in the Main Steps

    Build Your Own

    The Notepad++ repository includes BUILD instructions for GCC, so if you follow those instructions, you can build your own GCC-based Notepad++ from the source code. You will obviously need the GCC compiler (you will have to find and install that on your own, as such a procedure is beyond the scope of this FAQ or this Forum).

    Once you have the GCC compiler ready, you can download the source code for Notepad++: it is up to you whether you want to download the source code from the latest release, which will give you a snapshot of the code at the time it was released; or whether you want to grab the most recent commit from the main development branch of the repo which can have code/features that have been added since the last release.

    Building your own copy of Notepad++ using GCC is intended for people with coding experience, and experience with GCC in particular, and who know how to use GitHub and git – if this doesn’t describe you, you may wish to gain experience before trying to build your own using GCC.

    Caveat: This is Unsupported

    Rememeber: using Notepad++ on Windows Vista or Windows Server 2008 is not officially supported for new Notepad++ versions. If you can happen to get newer Notepad++ to work on those OS versions by following these instructions, that’s great for you.

    Otherwise, the best recommendation is to use an older version of Notepad++ that was officially tested on those operating systems – with v8.4.6 being the newest Notepad++ to be verified with those OS. Having been verified, it should work for you; however, there will never be any updates to the v8.4.6 code, so any bugs or security issues present in v8.4.6 will remain unfixed for you. (The same is true for most applications that stop supporting older OS, so this is not unique to Notepad++.)

  • Notepad++ discussions that don’t fit in other Categories

    4k Topics
    22k Posts
    CoisesC

    @Bjorgen-Eatinger said in The Nightmare %> Issue:

    I’ve posted this bug on GitHub, but it hasn’t been fixed. It drives me NUTS.

    I can tell you that this is almost certainly a Lexilla problem. I know that doesn’t matter to you as an end user; but as a practical matter, it means that reporting it as a Notepad++ issue is unlikely to yield useful results.

    If you care enough about this, your first step should be to try to reproduce the same behavior in SciTE. Since Scintilla, Lexilla and SciTE are all related, it will be easier to get the maintainers of those projects to attend to a bug report if the bug can be demonstrated in SciTE.

    If the same bug does not occur in SciTE, then it is a Notepad++ issue after all. Failure to reproduce in SciTE would be information you should definitely add to your Notepad++ issue, as it would indicate the problem isn’t what it appears to be.

    If the same bug does occur in SciTE, then the place to document the problem is in the Lexilla issues.

  • 10k Topics
    54k Posts
    CoisesC

    @NolanNolan said in Standard ANSI and code still change to something else:

    But really weird that using Microsofts own notepad.exe that comes with a standard windows installation makes windows search not detect characters in txt files that belongs to the installation language of the OS.

    Perhaps not quite as strange as it might first appear.

    Support for Unicode in Windows dates back to the first release of Windows NT in 1993. (NT was a “business” operating system; it took another eight years or so to get Unicode into “consumer” systems.) The thing is, Windows chose to support 16-bit characters: UCS-2, which later became UTF-16. UTF-8 wasn’t even presented publicly until 1993, and it took many more years for it to become popular. Most early adopters of Unicode, like Windows, used 16-bit “wide” characters.

    So, for a long time, in Windows “Unicode” meant UTF-16. Windows XP (2001) introduced code page 65001 for UTF-8, but it was only useful in conversion functions and console sessions. In Windows 10 Version 1903 (May 2019), it became possible to set UTF-8 (65001) as the system code page; however, that doesn’t (yet, in 2025 at least) do as much as you might hope it would, and it can precipitate odd behavior in software. (I tested your specific case: setting Use Unicode UTF-8 for worldwide language support does not change how search in Windows Explorer interprets files without a byte order mark.)

    Files using legacy (“ANSI”) encodings are too common to ignore, but, as @PeterJones pointed out in his earlier post in this thread, there is no completely reliable way to distinguish an “ANSI” encoding from UTF-8. Windows chose to use the byte order mark (already in use in UTF-16 files) to signal when a file is UTF-8. Windows simply does not recognize a file without a byte order mark as Unicode.

    Notepad++ uses byte order marks, too, but it also recognizes when a file has a very high likelihood of being UTF-8 (without a byte order mark). This is possible because the details of UTF-8 encoding make it highly unlikely that a legacy text file will “accidentally” also be a valid UTF-8 file — unless it is very short, has been intentionally crafted to trigger false detection, or contains only ASCII characters. (Since ASCII characters are represented identically in UTF-8 and in legacy code pages, the last case only matters if you edit a file which contained only ASCII characters so that it contains one or more non-ASCII characters. In that case, it is important to set your intended encoding depending on how the file will be used.)

    What you’re confronting is the difference between how Windows detects UTF-8 (must have a byte order mark) and how Notepad++ detects UTF-8 (valid UTF-8 byte sequence, which is statistically highly unlikely to be a legacy encoding).

    There is no good solution to this without inventing a time machine and changing decisions that were made over three decades ago.

    Well… no good solution that does not sacrifice reasonable backward compatibility. I consider that one of Windows’ best features, and I admire Microsoft for sticking to it. Twenty-year old programs can still run on current versions of Windows. I hate the culture of “If it’s not constantly maintained and upgraded, junk it!” that’s overtaken most of the computing world. A job once done well should stay done. (I suspect this has a lot to do with Microsoft’s dominance in business applications.) Not everyone shares my view.

  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    9k Posts
    EkopalypseE

    @h-jangra

    Be careful when using V, as it has made some decisions, such as removing the option for users to create a dllmain, that are… strange. In addition, at least during the time I worked with V, there were repeated problems with the various compilers.
    Gcc did this, but msvc did not, clang always caused problems, especially in release mode, and tcc does not work at all in this area. Don’t get me wrong, you can get them all to work, but you’ll end up spending more time working around the obstacles than working on the plugin, and unfortunately, there is no win32 library yet. So you have to write every Win32 function you use yourself and hope that it doesn’t conflict with the ones V uses internally.
    So if you want to use a new language, I would recommend Rust, C#, Delphi, Odin, or Zig.
    With the exception of Delphi, I created plugins in all the other languages for testing and ultimately decided on Rust for the LSP client plugin.

  • Security shouldn't be the privilege of rich people
    62 Topics
    295 Posts
    donhoD

    @John-Smith-4

    I see in v8.8.8 release there was an issue addressed with WinGup. Could you elaborate what caused this behavior?

    Unfortunately I can’t provide more facts than what we already know.
    We are not aware of any confirmed exploitation of this vulnerability in the wild.
    The fix in v8.8.8 is the best I could do to address the issue of WinGUp being hijacked.

  • All the issues (publications/questions) about binary translation
  • Say fuck to Notepad++ here, and only here
    91 Topics
    522 Posts
    James Burke 0J

    @Maurizio-Scian The real problem is that most Americans don’t know left from right. True right wingers wear BLUE ball hats. American right wingers wear RED ball hats. Now is that fucked-up or what? And what’s more, real communists restore old American cars and put diesel engines in them without catalytic converters. America communists ride electric bicycles and believe in climate change. Lets try to keep this in mind when discussing politics.

  • No support request and bug report here, only unconditional praise and worship

    1 Topics
    4 Posts
    Aubin HeroutA

    salut les petits gwerrrr

  • Share personal tips and cool uses for Notepad++, and similar

    59 Topics
    219 Posts
    guy038G

    Hello, All,

    In summary, a wedding is :

    Lots of preparation the day before

    Lots of celebrations in the evening and the night

    Lots of cleaning up the next day

    We were extremely fortunate to have beautiful weather and pleasant temperatures for the season.!

    My daughter, being a schoolteacher, had naturally chosen the All Saints’ Day school holidays.

    The wedding took place in the Chartreuse Mountains (1,000 m), near Grenoble.

    At the Town Hall :

    0aed2d1e-a6d0-48da-92f1-94fac8620ac7-20251018_19_C.jpg

    In Chartreuse :

    6af1599e-5a7a-4063-912e-389b35bf06c4-20251019_99_C.jpg

    Best Regards,

    guy038

  • Computer/Programming Jokes are welcome here

    57 Topics
    185 Posts
    xomxX

    @donho
    Good attempt, just for surety, why not ;-)

    And I’ve to admit that I used to “abuse” churches too - in the summer it was nice and cool there and, most importantly, quiet, so I could study there and prepare for my exams :-)

    @Terry-R @Lycan-Thrope

    Otherwise on topic - there are IMO no complete atheists (in the sense of believing in something that is beyond my reach or ordinary understanding), everyone has their own faith. But while someone believes e.g. that gravity will still work tomorrow when they wake up, someone else believes in the virgin conception of the Virgin Mary, when the Holy Spirit entered her. For me, religion just parasites on and shackles the natural human need to believe in something better/bigger, something that gives human existence true meaning and a greater dimension.