Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • Freon SandozF

      Unexpected match when searching files for an end-quote character (non-ASCII)

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      0 Votes
      4 Posts
      327 Views
      CoisesC

      @Freon-Sandoz said in Unexpected match when searching files for an end-quote character (non-ASCII):

      I can reproduce the file contents and the unexpected behavior

      I was able to do that, too… and now I see what is happening. The character you are calling an end quote is not the Right Double Quotation Mark, U+201D but the Double Prime, U+2033.

      Windows-1252 (and Windows-1254) contains the right double quotation mark at 0x94. However, it does not contain the double prime. The entry boxes on the file dialog are always in Unicode. (That’s how it works pretty much everywhere in modern Windows.) But if the file is in ANSI, the file search is done in ANSI, so Notepad++ asks Windows to translate the string you gave it into ANSI. Seeing that there is no double prime character in your current code page, Windows “helpfully” translates it to something that looks a lot like it… the ASCII double quote.

      Further confusing the issue is that Notepad++ never loads a file in any code page other than your system code page (which you said is 1252) or Unicode. So when you open the file in Windows-1254, Notepad++ is actually converting it from 1254 to UTF-8 and editing that way. That’s why the search behaved as expected in 1254: it wasn’t really 1254 in, it was in UTF-8.

      Bottom line… this behavior actually is “expected”… but not by any normal human being. About the only thing you can do about it is to work in Unicode wherever possible when you are using non-ASCII characters.

      It might be possible for Notepad++ to change its search so that it warned you when you tried to search an ANSI document for characters that aren’t possible in that document. I haven’t looked into it in depth; I would guess there must be a call to WideCharToMultiByte somewhere, and it could be passed the WC_NO_BEST_FIT_CHARS flag and the lpUsedDefaultChar output pointer to detect such shenanigans so the program could tell the user about it instead of potentially claiming to find something that isn’t there.

    • donhoD

      Notepad++ Old Releases Download

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      2
      6 Votes
      2 Posts
      359 Views
      PeterJonesP

      @donho ,

      Thanks for doing that. It’s good to be able to grab older versions, for historical purposes / comparisons, and for people who are trying to use Notepad++ on machines that still have ancient OS installed and cannot be upgraded (like a bunch of early 2000s electronic-measurement equipment that I used to use)

    • donhoD

      Notepad++ v8.9.3 Release Candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      13
      6 Votes
      13 Posts
      2k Views
      donhoD

      FYI:
      I just updated RC4 binaries with the fix:
      https://github.com/notepad-plus-plus/notepad-plus-plus/commit/9b558895e744601842ffdaff4679467863b9722d

      Sorry for the inconvenience.

    • S

      Minor bug : The "This file has been modified" causes the "mouse up" event to be missing, sticking the selection drag

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      1
      0 Votes
      1 Posts
      2 Views
      No one has replied
    • Invert BDI

      [New Plugin]Instantaneous Dark/Light theme switch (+automatic switch mode)

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      0 Votes
      1 Posts
      87 Views
      No one has replied
    • donhoD

      v8.9.4 RC will be available this weekend (17-19 April)

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      1
      3 Votes
      1 Posts
      140 Views
      No one has replied
    • Eugene BrennanE

      Simple Question: Can I View HTML Tags?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      426 Views
      Mister AlexM

      Yes—Notepad++ doesn’t automatically strip HTML, but copying through plain-text mode (like Notepad or Reader View) removes all tags. To retain <p> and <br>, avoid pasting via plain text—either paste directly into Blogger’s HTML view and clean unwanted code manually, or use an HTML cleaner tool to keep only specific tags instead of stripping everything.

    • Vitalii DovganV

      NppExec v0.8.11 has been released!

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      3 Votes
      1 Posts
      100 Views
      No one has replied
    • Kevin HemkenK

      Add line of text to beginning of multiple files

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      25
      0 Votes
      25 Posts
      33k Views
      Amelia MendouzaA

      @Claudia-Frank

      Some seven years later: exactly my query too. Many thanks. 😊😊

    • Mark OlsonM

      JsonTools v5.5. is live!

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development json jsonviewer plugins
      23
      7 Votes
      23 Posts
      23k Views
      Mark OlsonM

      JsonTools v8.5 is now available on the plugin manager for Notepad++ 8.9.3. The main change is that ANSI-encoded documents containing non-ASCII characters can now be parsed correctly.

    • h-jangraH

      NppVim 1.13.0.0 : g motions i.e. g?, gd, ga, g_ etc

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      1 Votes
      1 Posts
      72 Views
      No one has replied
    • Ertan KüçükogluE

      Pascal multi line string highlight

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      0 Votes
      5 Posts
      1k Views
      PeterJonesP

      Update: @Ertan-Küçükoglu didn’t post the link here, but had made https://github.com/ScintillaOrg/lexilla/issues/321 to request this feature from Lexilla. Lexilla just merged a PR to add SCE_PAS_MULTILINESTRING styleID=15. Since Lexilla v5.4.8 was just released last week, it’s likely going to be a few weeks to a couple months before v5.4.9 is released to include that feature. But once it is, and once Notepad++ imports the updated Lexilla, then that new style can be added to the Pascal/Delphi definitions in stylers/themes. So hopefully, this will be added to Notepad++ within the next few months.

      (Keep an eye on Notepad++'s Issue #16807 to see when it gets added to the codebase; whatever release happens after that Issue is closed will be the first Notepad++ release to incude the multi-line string highlighting.)

    • mapsonxM

      Notetab++ novice questions

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      929 Views
      PeterJonesP

      Any future replies need to go to this 2026 topic where @mapsonx asked essentially the same question

      This Topic is locked.

    • chris swinsonC

      Open file vanishing after reboot ?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      1
      0 Votes
      1 Posts
      103 Views
      No one has replied
    • ThIsLinkedT

      Preview value color RGB, HEX, HSL.

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion preview color previewcolors
      18
      0 Votes
      18 Posts
      13k Views
      AutoMV ProtectionA

      @PeterJones Hi, I managed to complete your code so that all color formats work. If you want, I can send you the code.!Sem títulddddo.jpg

    • วีรภัทร ทวีทรัพย์ว

      The official repository, download.notepad-plus-plus.org, is down!

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      10
      0 Votes
      10 Posts
      1k Views
      PeterJonesP

      see update in this announcement: new github repo with archived versions of Notepad++ at https://github.com/notepad-plus-plus/old-releases

    • Z

      NppCSharpPluginPack: how to add toolbar buttons?

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      0 Votes
      3 Posts
      297 Views
      Z

      @Mark-Olson You are right, thanx Mark.

    • Robk BlueR

      Tidy2 or other HTM L plugins

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      512 Views
      PeterJonesP

      @Robk-Blue said in Tidy2 or other HTM L plugins:

      It looks like Tidy2 is a 32 bit plugin and I can’t find a x64 version. Is it able to be used still? Any other options?

      Yeah, Tidy2 hasn’t been updated in more than a decade – it’s essentially abandoned. And as far as I can tell, no one here has grabbed the source code, recompiled for 64-bit, and published it anywhere (that has happened on some other plugins that used to be only 32-bit, if someone here was interested enough in that plugin to do it for themselves and share it with others)

      XML Tools is able to make XML look pretty, and usually works on HTML files as well.

      Other than that, it’s possible to pass the current file to your favorite external command-line code-prettifier (tidy.exe, if you installed HTML Tidy utility on your computer yourself), using either the Run > Run to create a User-defined command, or using a plugin like Pork2Sausage or NppExec.

      See also the FAQ: How do I use Notepad++ to Compile my Source Code (or Convert My Text)?, which has a section on Converting text (which is what things like tidy.exe are doing), and explains how to use the plugins mentioned in the previous paragraph to accomplish conversion tasks.