<?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[Interpret an Unicode value as real character in Notepad++]]></title><description><![CDATA[<p dir="auto">If I copy an Unicode encoded value as actual rendered character (for example form Wikipedia’s Mathematical_Alphanumeric_Symbols - 1D400) and paste it into Notepad++, it really does show it as a “bold” character.</p>
<p dir="auto">But when I try to manually write it in the Notepad++ as the Unicode value (typed as \u1D400) and use plugin HTML Tag &gt; Decode JS (as advised in post called “replace-unicode-values-with-characters-e-g-u00e9-with-%C3%A9”), it does not renders it into the “bold” character…and what’s even worse, it converts it into different 2 characters!</p>
<p dir="auto">Why is that and how to make Notepad++ converting the value into the same character visual as it shows it when I simply copy/paste it already rendered form a webpage?</p>
<p dir="auto">Am I doing something wrong? Can anyone show me the proper way how would I simply write the actual Unicode value into the notepad++ and then it would converts it to the correct character?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/25560/interpret-an-unicode-value-as-real-character-in-notepad</link><generator>RSS for Node</generator><lastBuildDate>Tue, 13 Oct 2026 13:08:39 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/25560.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Mar 2024 17:25:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Interpret an Unicode value as real character in Notepad++ on Thu, 14 Mar 2024 08:03:18 GMT]]></title><description><![CDATA[<p dir="auto"><strong>FYI</strong></p>
<p dir="auto">The <em>HTML Tag</em> wiki now includes a more accurate <a href="https://github.com/rdipardo/npphtmltag/wiki/usage#user-content-topic-utf16" rel="nofollow ugc">description</a> of its decoding limitations. Not sure yet if this can be improved while the source code is targeting the Free Pascal runtime, which tends to favour UTF-8 as being more compatible with the many different platforms it supports. Perhaps for the sake of legacy Delphi code, the <code>WideString</code> type is <a href="https://wiki.freepascal.org/Character_and_string_types#WideString" rel="nofollow ugc">an exception</a>:</p>
<blockquote>
<p dir="auto">WideStrings consist of COM compatible UTF16 encoded bytes on Windows machines (UCS2 on Windows 2000), and they are encoded as plain UTF16 on Linux, Mac OS X and iOS.</p>
</blockquote>
<p dir="auto">The P.E. header of a recent plugin DLL shows “4.0” as the minimum required OS version, <a href="https://wikipedia.org/wiki/Windows_NT_4.0" rel="nofollow ugc">even older</a> than Windows 2K, so it’s possible that Unicode text is actually encoded as UCS2 (<strong><em>!</em></strong>).</p>
<p dir="auto">The orignal developer seems to have assumed that a signed 16-bit <code>SmallInt</code> would be enough for all potential code points. They’ve been stored as 32-bit unsigned integers for <a href="https://github.com/rdipardo/nppHTMLTag/commit/ad2e69c35ca2f69b0a739c73a81ef112f5d573cd" rel="nofollow ugc">a long time</a> now, so there’s really no excuse for not extending the logic to decompose ordinals north of <code>U+010000</code> into surrogate pairs and feeding them back into the decoder.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93559</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93559</guid><dc:creator><![CDATA[rdipardo]]></dc:creator><pubDate>Thu, 14 Mar 2024 08:03:18 GMT</pubDate></item><item><title><![CDATA[Reply to Interpret an Unicode value as real character in Notepad++ on Fri, 08 Mar 2024 00:45:20 GMT]]></title><description><![CDATA[<p dir="auto">The free and open source software <a href="https://github.com/samhocevar/wincompose" rel="nofollow ugc">WinCompose</a> is an option.</p>
<p dir="auto">This program converts one of your keys (by default the right Alt key) into a Compose key, which you press and release, then enter a short mnemonic sequence to choose a character. For example, <strong>Right-Alt a "</strong> to generate <strong>ä</strong> or <strong>Right-Alt o c</strong> to generate <strong>©</strong>.</p>
<p dir="auto">You can use <strong>Right-Alt u <em>xxx</em> Enter</strong> to generate a Unicode character. It works for the original poster’s example: <strong>Right-Alt u 1 d 4 0 0 Enter</strong> gives <strong>𝐀</strong>.</p>
<p dir="auto">I don’t use it on a regular basis, so I can’t comment on its stability; I used the portable version to write the text above, and also verified that it works in Notepad++.</p>
<p dir="auto">(Note: I replaced my earlier version of this comment because I discovered the website for this software links to an out-of-date version. The GitHub version appears to be the most recent.)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93478</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93478</guid><dc:creator><![CDATA[Coises]]></dc:creator><pubDate>Fri, 08 Mar 2024 00:45:20 GMT</pubDate></item><item><title><![CDATA[Reply to Interpret an Unicode value as real character in Notepad++ on Thu, 07 Mar 2024 08:42:44 GMT]]></title><description><![CDATA[<p dir="auto">For future visitors of this thread, note that <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a>’s alternative suggestion of surrogate pairs does in fact work with <em>HTML Tag</em>, <a href="https://github.com/rdipardo/nppHTMLTag/commit/8e66ddb" rel="nofollow ugc">since version 1.4</a> at least:</p>
<p dir="auto"><img src="https://i.imgur.com/l3W9Pfm.gif" alt="htmltag-U+1D400-decode" class=" img-fluid img-markdown" /></p>
<p dir="auto">Conversions are reversible, i.e., literal Unicode pasted from the Web with code points above <code>U+D800</code> will also be encoded as surrogates.</p>
<p dir="auto">You can convert to and from the commonly used <code>U+0000</code> format once you have configured the prefix <a href="https://github.com/rdipardo/npphtmltag/wiki/usage#version-142-and-later" rel="nofollow ugc">in the settings</a>:</p>
<p dir="auto"><img src="https://i.imgur.com/ucTktzJ.gif" alt="htmltag-U+1D400-encode" class=" img-fluid img-markdown" /></p>
<p dir="auto">There is <a href="https://github.com/rdipardo/nppHTMLTag/blob/0dd3aa698d60e95eafafc0bbc8e50cedabd48877/src/U_JSEncode.pas#L152" rel="nofollow ugc">currently</a> a hard limit of <code>U+DBFF</code> for convertible code points, and only the first 4 digits are read. So, for example, <code>U+1D400</code> will become <code>\u1D40 -&gt; ᵀ</code> with the last <code>0</code> remaining as is, as reported above.</p>
<p dir="auto">The official bug tracker is <a href="https://github.com/rdipardo/nppHTMLTag/issues" rel="nofollow ugc">on GitHub</a>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93458</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93458</guid><dc:creator><![CDATA[rdipardo]]></dc:creator><pubDate>Thu, 07 Mar 2024 08:42:44 GMT</pubDate></item><item><title><![CDATA[Reply to Interpret an Unicode value as real character in Notepad++ on Wed, 06 Mar 2024 22:14:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> perfect + believe it or not, but once again I myself already downloaded exactly this script as the 2nd one expecting it should do something like that although I could not find a way how it operates, thinking it is not functioning or something (so luckily now I know that I have to look at the status bar and set the carret at the beggining instead of the end - one of the mistakes I was doing before you explained how it operates, haha - thank you!).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93456</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93456</guid><dc:creator><![CDATA[vaso blg]]></dc:creator><pubDate>Wed, 06 Mar 2024 22:14:24 GMT</pubDate></item><item><title><![CDATA[Reply to Interpret an Unicode value as real character in Notepad++ on Wed, 06 Mar 2024 22:04:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vaso-blg" aria-label="Profile: vaso-blg">@<bdi>vaso-blg</bdi></a> said in <a href="/post/93453">Interpret an Unicode value as real character in Notepad++</a>:</p>
<blockquote>
<p dir="auto">don’t you have a reversed script, that would convert all the selected text into the Unicode values?</p>
</blockquote>
<p dir="auto">Not quite, but similar:<br />
<a href="https://github.com/pryrt/nppStuff/blob/main/pythonScripts/useful/WhatUniChar.py" rel="nofollow ugc">https://github.com/pryrt/nppStuff/blob/main/pythonScripts/useful/WhatUniChar.py</a></p>
<p dir="auto"><img src="/assets/uploads/files/1709762574206-5d45325e-23c2-4d93-82cf-c6e139abf73a-image.png" alt="5d45325e-23c2-4d93-82cf-c6e139abf73a-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">It will update the status bar (until Notepad++'s next screen refresh) to show the codepoint of the single character at the typing caret.  (It doesn’t do the whole selection, just a single character).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93455</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93455</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 06 Mar 2024 22:04:21 GMT</pubDate></item><item><title><![CDATA[Reply to Interpret an Unicode value as real character in Notepad++ on Wed, 06 Mar 2024 20:20:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> BTW don’t you have a reversed script, that would convert all the selected text into the Unicode values? That could be very interesting option to have indeed!!!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93453</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93453</guid><dc:creator><![CDATA[vaso blg]]></dc:creator><pubDate>Wed, 06 Mar 2024 20:20:50 GMT</pubDate></item><item><title><![CDATA[Reply to Interpret an Unicode value as real character in Notepad++ on Wed, 06 Mar 2024 20:21:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> yes, I already found it myself by exploring that page and already tested it, great, works as you said it would - very good addition to my solution (Snippets), thank you!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93452</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93452</guid><dc:creator><![CDATA[vaso blg]]></dc:creator><pubDate>Wed, 06 Mar 2024 20:21:07 GMT</pubDate></item><item><title><![CDATA[Reply to Interpret an Unicode value as real character in Notepad++ on Wed, 06 Mar 2024 20:07:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vaso-blg" aria-label="Profile: vaso-blg">@<bdi>vaso-blg</bdi></a> said in <a href="/post/93450">Interpret an Unicode value as real character in Notepad++</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> actually, now as I re-read your post I would be interested in your script, but when I click the link it gives me 404 error (page does not exist)</p>
</blockquote>
<p dir="auto">Oh, right, I copied an old link, but I had moved it to a subdirectory after the last time I posted a link to it.  It’s now at <a href="https://github.com/pryrt/nppStuff/blob/main/pythonScripts/useful/pyscReplaceBackslashSequence.py" rel="nofollow ugc">https://github.com/pryrt/nppStuff/blob/main/pythonScripts/useful/pyscReplaceBackslashSequence.py</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/93451</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93451</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 06 Mar 2024 20:07:55 GMT</pubDate></item><item><title><![CDATA[Reply to Interpret an Unicode value as real character in Notepad++ on Wed, 06 Mar 2024 20:07:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> actually, now as I re-read your post I would be interested in your script, for some other Unicode stuff (from time-to-time) but when I click the link it gives me 404 error (page does not exist)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93450</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93450</guid><dc:creator><![CDATA[vaso blg]]></dc:creator><pubDate>Wed, 06 Mar 2024 20:07:21 GMT</pubDate></item><item><title><![CDATA[Reply to Interpret an Unicode value as real character in Notepad++ on Wed, 06 Mar 2024 20:03:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> thank you, in fact as the final solution I just used Snippets plugin and simply added all the characters there and now I can insert them as needed - simple and useful solution + I do not need to remember the codes :-D</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93449</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93449</guid><dc:creator><![CDATA[vaso blg]]></dc:creator><pubDate>Wed, 06 Mar 2024 20:03:52 GMT</pubDate></item><item><title><![CDATA[Reply to Interpret an Unicode value as real character in Notepad++ on Wed, 06 Mar 2024 19:51:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mkupper" aria-label="Profile: mkupper">@<bdi>mkupper</bdi></a> said in <a href="/post/93445">Interpret an Unicode value as real character in Notepad++</a>:</p>
<blockquote>
<p dir="auto">Hopefully, someone else here will know of a trick that works within Notepad++ and allows for more direct entry of 1D400 and getting a 𝐀.</p>
</blockquote>
<p dir="auto">I know of at least two ways:</p>
<ol>
<li>If you know the <a href="https://en.wikipedia.org/wiki/UTF-16#U+D800_to_U+DFFF_(surrogates)" rel="nofollow ugc">surrogate code</a>
<ul>
<li>example: 𝐀 , as described here, <a href="https://www.fileformat.info/info/unicode/char/1d400/index.htm" rel="nofollow ugc">https://www.fileformat.info/info/unicode/char/1d400/index.htm</a> =&gt; <code>C/C++/Java source code	"\uD835\uDC00"</code> has the surrogate code <code>U+D835 U+DC00</code>.</li>
<li>hold down <code>Alt</code> with one hand, and with the other, type <code>+D835</code> (*) then release <code>Alt</code>, then hold down <code>Alt</code> and type <code>+DC00</code> (*)<br />
(*: the <code>+</code> and all digits must be on numeric keypad; the <code>D</code> and any of the non-digit hex characters can be on the normal keyboard)</li>
<li>once you have typed both hex sequences, 𝐀 will appear</li>
</ul>
</li>
<li>use my <a href="https://github.com/pryrt/nppStuff/blob/main/pythonScripts/pyscReplaceBackslashSequence.py" rel="nofollow ugc">pyscReplaceBackslashSequence.py</a> script in the PythonScript plugin, then type <code>\u1D400</code> then with the cursor just after that, run my script; it will convert it into the 𝐀</li>
</ol>
<p dir="auto">The first requires knowing the surrogate code, having enabled the <a href="https://www.fileformat.info/tip/microsoft/enter_unicode.htm" rel="nofollow ugc">right registry key</a> to allow unicode <code>Alt</code> codes, having a keyboard that still has a numeric keypad, and getting good at doing those sequences.  The second requires knowing the full codepoint, and having PythonScript plugin and my script (and is made easier if you map my script to a keyboard shortcut).  Neither are reasonable if you have a large set of special characters that you want to be able to insert, but have not memorized them all.</p>
<p dir="auto">I usually just search that <code>fileformat.info</code> site for the Unicode characters I want, or launch <code>charmap.exe</code> (which I have in my Run command menu).  But if you had an “emoji keyboard” app or some such, it might make finding the right emoji easier (similar to smartphone keyboard emoji inputs).  (<em>Caveat: I have adblocker on <code>fileformat.info</code>, so its gazillion ads don’t bother me; I tend to forget that it’s ad-intensive when I recommend other people use it.</em>)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93447</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93447</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 06 Mar 2024 19:51:47 GMT</pubDate></item><item><title><![CDATA[Reply to Interpret an Unicode value as real character in Notepad++ on Wed, 06 Mar 2024 19:28:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vaso-blg" aria-label="Profile: vaso-blg">@<bdi>vaso-blg</bdi></a> - Unfortunately, the usual tips and tricks you will discover in the Internet only work for U+0000 to U+FFFF. Those tips and tricks usually fail for Unicode characters in the range U+10000 to U+10FFFF which includes U+1D400. I have always done what you do which is to copy paste characters such as <code>𝐀</code> into Notepad++.</p>
<p dir="auto">Hopefully, someone else here will know of a trick that works within Notepad++ and allows for more direct entry of 1D400 and getting a <code>𝐀</code>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93445</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93445</guid><dc:creator><![CDATA[mkupper]]></dc:creator><pubDate>Wed, 06 Mar 2024 19:28:42 GMT</pubDate></item></channel></rss>