<?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[Bug: Empty file with UTF-8 encoding saved as ANSI]]></title><description><![CDATA[<p dir="auto">Assume I open NP++ and create a new file via menu</p>
<p dir="auto">file—&gt;new</p>
<p dir="auto">In the lower right corner the Encoding is “UTF-8” which is equal to my default encoding.<br />
Good</p>
<p dir="auto">Now I save this empty, unchanged file as “new 1.txt” and close NP++.<br />
Afterwards I reopen this file “new 1.txt” by double click…and the Encoding now switched to ANSI.<br />
Very bad</p>
<p dir="auto">I guess this is a bug in NP++</p>
<p dir="auto">I oftentimes create empty files in Filemanager and fill them later with stuff.</p>
<p dir="auto">And I always want have UTF-8 Encoding (until I switch this manually).<br />
How can I enforce this in NP++?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/27603/bug-empty-file-with-utf-8-encoding-saved-as-ansi</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 11:26:20 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/27603.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 11 Jul 2026 07:06:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bug: Empty file with UTF-8 encoding saved as ANSI on Sat, 11 Jul 2026 07:19:17 GMT]]></title><description><![CDATA[<p dir="auto">Screenshot with englisch lang:</p>
<p dir="auto"><img src="/assets/uploads/files/1783754329712-c9203773-1cf6-4e41-8a11-6415a3597add-image.jpeg" alt="c9203773-1cf6-4e41-8a11-6415a3597add-image.jpeg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/105889</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105889</guid><dc:creator><![CDATA[MarkusBodensee]]></dc:creator><pubDate>Sat, 11 Jul 2026 07:19:17 GMT</pubDate></item><item><title><![CDATA[Reply to Bug: Empty file with UTF-8 encoding saved as ANSI on Sat, 11 Jul 2026 07:17:24 GMT]]></title><description><![CDATA[<p dir="auto">The problem is that neither ANSI nor UTF-8 includes a “marker” within the file itself to indicate the encoding type. This means Notepad++ or any other editor has to determine the encoding based on the file’s content. Consequently, with an empty file, it is impossible to distinguish which encoding is intended.</p>
<p dir="auto">That is precisely why this setting exists (see screenshot). Checking that box should do the trick.</p>
<p dir="auto"><img src="/assets/uploads/files/1783753934952-4047c99e-e786-469d-ab2c-9f164ff62957-image.jpeg" alt="4047c99e-e786-469d-ab2c-9f164ff62957-image.jpeg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/105888</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105888</guid><dc:creator><![CDATA[MarkusBodensee]]></dc:creator><pubDate>Sat, 11 Jul 2026 07:17:24 GMT</pubDate></item></channel></rss>