<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[NotePad++ 7.5.6 inserts ASCII control codes like &quot;DC3&quot; for Control-S WITHOUT any background dialogues open when Unix-LF (UTF-8 w&#x2F;o BOM) format is used]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">As many of us know, Notepad++ has an old bug – never fixed even to this day – about corrupting texts with ASCII control codes when keyboard shortcuts are used if it has <em>any</em> dialogues open (<a href="https://www.youtube.com/watch?v=CTcoMa19huY" rel="nofollow ugc">not just search/replace one</a>). The remedy for years is to close all the dialogues/windows.</p>
<p dir="auto">However, I stumbled upon a new way that it manifests itself: if I work on a text file that is Unix-LF (UTF-8 without BOM) format, and I use an AutoHotkey script to catch myself pressing “Control+S” (vk53sc01F) to automatically call a syntax checker plugin JSLint on the file, Notepad++ (the newest, fully updated 7.5.6 version) inserts “DC3” ASCII control code in the text instead of just accepting it is a short-cut and saving my text.</p>
<p dir="auto">Interestingly enough, if the format of the text is Windows-CRLF (also UTF-8 without BOM), this never happens, everything works as intended.</p>
<p dir="auto">Is there a way to FORCE Notepad++ to never glitch again in this case? So far I am at a loss what can be done. And I do not even know how to ask the developers to fix this bug so they would actually see it and fix it.</p>
<p dir="auto">Thanks in advance.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/15803/notepad-7-5-6-inserts-ascii-control-codes-like-dc3-for-control-s-without-any-background-dialogues-open-when-unix-lf-utf-8-w-o-bom-format-is-used</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 14:02:46 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/15803.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 22 May 2018 06:10:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NotePad++ 7.5.6 inserts ASCII control codes like &quot;DC3&quot; for Control-S WITHOUT any background dialogues open when Unix-LF (UTF-8 w&#x2F;o BOM) format is used on Tue, 22 May 2018 06:42:27 GMT]]></title><description><![CDATA[<p dir="auto">PARTIALLY SOLVED:</p>
<p dir="auto">It turns out that NP++ executable process returns “ready” state to Windows API before it is actually ready as it still running plugin activity. In my case JSLint’s syntax check of Unix-LF (UTF-8 without BOM) files apparently takes longer versus Windows-CRLF (UTF-8 without BOM) files, and this is how NP++ ends up not being able to process “Control+S” as a short-cut to save the file, but as a text input that shows up as “DC3”, corrupting it. Thus the solution is to use “Sleep 1000” AutoHotKey command before generating “Control+S” key combination or to swap it with the call for JSLint syntax check.</p>
<p dir="auto">However, why the underlying issue of NP++ allowing ASCII control codes to be inserted in the text is still not fixed, is still a question. <strong>At no circumstances NP++ should allow the corruption of texts by garbage.</strong></p>
]]></description><link>https://community.notepad-plus-plus.org/post/32396</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32396</guid><dc:creator><![CDATA[Max South]]></dc:creator><pubDate>Tue, 22 May 2018 06:42:27 GMT</pubDate></item></channel></rss>