<?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[Curse of the Curly Quotes]]></title><description><![CDATA[<p dir="auto">I’m on NP++ v8.9.3.</p>
<p dir="auto">When pasting code into NP++ from another source, no matter what I do, if the source has curly quotes, the pasted content has curly quotes.</p>
<p dir="auto">What I’ve tried:</p>
<ul>
<li>GDI (most compatible)</li>
<li>Cascadia Mono - as default font.</li>
</ul>
<p dir="auto">Unless there’s no other way to configure NP++ to “change all curly quotes to straight quotes when opening documents or pasting content”, I’ll of course set up a macro, but the other options mentioned in the manual aren’t working as advertised.</p>
<p dir="auto"><a href="https://community.notepad-plus-plus.org/post/102348">https://community.notepad-plus-plus.org/post/102348</a></p>
<p dir="auto">Am I missing something?</p>
<p dir="auto">Notepad++ v8.9.3   (32-bit)<br />
Build time: Mar 20 2026 - 00:43:07<br />
Scintilla/Lexilla included: 5.6.0/5.4.7<br />
Boost Regex included: 1_90<br />
pugixml included: 1.15<br />
nlohmann JSON included: 3.12.0<br />
Path: C:\Program Files (x86)\Notepad++\notepad++.exe<br />
Command Line:<br />
Admin mode: OFF<br />
Local Conf mode: OFF<br />
Cloud Config: OFF<br />
WinGUp: present<br />
disableNppAutoUpdate.xml: absent<br />
Periodic Backup: OFF<br />
Placeholders: ON<br />
Scintilla Rendering Mode: SC_TECHNOLOGY_DEFAULT (0)<br />
Multi-instance Mode: monoInst<br />
asNotepad: OFF<br />
File Status Auto-Detection: cdEnabledNew (for current file/tab only)<br />
Dark Mode: ON<br />
Display Info:<br />
primary monitor: 2560x1600, scaling 125%<br />
visible monitors count: 2<br />
installed Display Class adapters:<br />
0001: Description - Intel® Iris® Plus Graphics<br />
0001: DriverVersion - 26.20.100.7641<br />
0002: Description - Microsoft Remote Display Adapter<br />
0002: DriverVersion - 10.0.22621.5415<br />
OS Name: Windows 11 Enterprise (64-bit)<br />
OS Version: 23H2<br />
OS Build: 22631.6783<br />
Current ANSI codepage: 1252<br />
Plugins:<br />
ComparePlugin (2.0.2)<br />
DSpellCheck (1.5)<br />
ElasticTabstops (1.5)<br />
LocationNavigate (0.4.8.1)<br />
mimeTools (3.1)<br />
NppConverter (4.7)<br />
NppExec (0.8.10)<br />
NppExport (0.4)<br />
NppTextFX (1.4.1)<br />
PythonScript (2.1)<br />
Tidy2 (0.2)<br />
_CustomizeToolbar (5.3)</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/27503/curse-of-the-curly-quotes</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 05:57:51 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/27503.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Apr 2026 16:31:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Curse of the Curly Quotes on Mon, 20 Apr 2026 22:53:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/38896">@William-Fields</a> said in <a href="/post/105295">Curse of the Curly Quotes</a>:</p>
<blockquote>
<p dir="auto">When pasting code into NP++ from another source, no matter what I do, if the source has curly quotes, the pasted content has curly quotes.</p>
</blockquote>
<p dir="auto">Right.  That’s because the curly quote characters have different codepoints from ASCII quotemarks.</p>
<p dir="auto">It’s doing the right thing.</p>
<p dir="auto">If you want to convert, then use a regular expression:<br />
FIND = <code>[“”]</code><br />
REPLACE = <code>"</code><br />
SEARCH MODE = <code>Regular Expression</code><br />
REPLACE ALL</p>
<blockquote>
<p dir="auto">change all curly quotes to straight quotes when opening documents or pasting content</p>
</blockquote>
<p dir="auto">There’s no such command or option in Notepad++, because that would be Notepad++ changing characters from one codepoint to another without user interaction, which is the antithesis of text editing</p>
<blockquote>
<p dir="auto"><a href="https://community.notepad-plus-plus.org/post/102348">https://community.notepad-plus-plus.org/post/102348</a></p>
</blockquote>
<p dir="auto">The Direct Write ligature-effects from the post you showed is just the fonts changing the <em>appearance</em> of characters based on font ligature rules, but the underlying <em>characters</em> that Notepad++ is presenting are the exact same characters as found on disk.  On the other hand, the curly quotes that you are copying and pasting are <em>different characters</em> from the ASCII quote.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105296</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105296</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 20 Apr 2026 22:53:28 GMT</pubDate></item></channel></rss>