<?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[Error rendering unicode slashthrough characters]]></title><description><![CDATA[<p dir="auto">Hi<br />
I was trying to write some slashthrough characters, but they are rendered as the image below <img src="/assets/uploads/files/1634733010162-slashthrough_error.png" alt="Slashthrough_error.png" class=" img-fluid img-markdown" /><br />
Strangely, when I enable dark mode, they render as this (with a kind of offset on the slash):<br />
<img src="/assets/uploads/files/1634733090929-slashthrough_error_dark_mode.png" alt="Slashthrough_error_dark_mode.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">To replicate this, just copy and paste this line on a new file:<br />
a̷b̷c̷d̷e̷f̷g̷h̷i̷j̷k̷l̷m̷n̷o̷p̷q̷r̷s̷t̷u̷v̷w̷x̷y̷z̷0̷1̷2̷3̷4̷5̷6̷7̷8̷9̷A̷B̷C̷D̷E̷D̷G̷H̷I̷J̷K̷L̷M̷N̷O̷P̷Q̷R̷S̷T̷U̷V̷W̷X̷Y̷Z̷</p>
<p dir="auto">Opening the file with a hex editor, we have this:<br />
<img src="/assets/uploads/files/1634733335747-119d21d7-702e-4978-9706-453405028af3-image.png" alt="119d21d7-702e-4978-9706-453405028af3-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">But if I invert the bytes sequence:<br />
<img src="/assets/uploads/files/1634733455193-0b61a186-41c7-41b7-9c9b-1531d0e2a63a-image.png" alt="0b61a186-41c7-41b7-9c9b-1531d0e2a63a-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I have these results:<br />
<img src="/assets/uploads/files/1634733486238-0b514a20-90a1-4e9e-a994-3a858ba456f6-image.png" alt="0b514a20-90a1-4e9e-a994-3a858ba456f6-image.png" class=" img-fluid img-markdown" /><br />
<img src="/assets/uploads/files/1634733514936-e380bc12-38e5-4d4a-946b-89c8f7c27e5f-image.png" alt="e380bc12-38e5-4d4a-946b-89c8f7c27e5f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Before someone asks me, I’m up-to-date:<br />
<img src="/assets/uploads/files/1634733589522-2423f52c-49d3-4541-9dc8-1674004792e0-image.png" alt="2423f52c-49d3-4541-9dc8-1674004792e0-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/topic/22020/error-rendering-unicode-slashthrough-characters</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 06:14:01 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/22020.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 20 Oct 2021 12:44:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error rendering unicode slashthrough characters on Wed, 20 Oct 2021 14:09:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alexandre-hagihara" aria-label="Profile: Alexandre-Hagihara">@<bdi>Alexandre-Hagihara</bdi></a> ,</p>
<p dir="auto">The slashthrough <a href="https://www.fileformat.info/info/unicode/char/0337/index.htm" rel="nofollow ugc">U+0337</a> character you showed is a pretty fancy Unicode character, because it is a “combining”/“overlay” glyph, and some fonts have trouble with them.  Your selected font may be different for normal mode vs Dark Mode, so maybe the font you have selected in Dark Mode has different Unicode coverage.</p>
<p dir="auto">But also there is some other behind-the-scenes font-related magic that affects how Unicode is rendered, so even if your font is okay, there might be oddities.  Try toggling <strong>Settings &gt; Preferences &gt; MISC &gt; Use DirectWrite</strong> to see if it draws those characters better (more <a href="https://npp-user-manual.org/docs/preferences/#misc" rel="nofollow ugc">in the usermanual</a>).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/70709</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/70709</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 20 Oct 2021 14:09:49 GMT</pubDate></item></channel></rss>