<?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[Help for an ANSI file]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/12522/convert-to-ansi">Convert to ANSI</a></p>
<p dir="auto">Hi !</p>
<p dir="auto">I open a new file “tmp.txt” with Notepad++ on Windows 10,<br />
I set Encodage to ANSI.<br />
I write “éèàÔ€” in the file.<br />
I close the file.<br />
I close the tab.<br />
I can read the file “tmp.txt” with Notepad.<br />
I cannot read the file with Notepad++.<br />
Is it my problem ?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/20165/help-for-an-ansi-file</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 13:52:03 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/20165.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 17 Oct 2020 15:22:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Help for an ANSI file on Tue, 20 Oct 2020 14:16:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14019">@andrecool-68</a></p>
<p dir="auto">But only as long as you have not opened more than the maximum number of files to be saved.</p>
<p dir="auto"><img src="/assets/uploads/files/1603202684457-73679fc4-37eb-4f49-8a16-4a454c69650d-image.png" alt="73679fc4-37eb-4f49-8a16-4a454c69650d-image.png" class=" img-fluid img-markdown" /></p>
<blockquote>
<p dir="auto">Create/maintain some sort of database for this info</p>
</blockquote>
<p dir="auto">But I see a disadvantage - maintenance. How to keep this kind of db clean. I would say that during runtime of npp one can expect it but<br />
after a restart it will become a nightmare to keep it clean.<br />
How would one handle temporarily inaccessible files, moved or deleted files.<br />
On the other side if you can configure an extension or lexer to always<br />
open a file in a specific encoding then I assume most of the issues are solved.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58856</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58856</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 20 Oct 2020 14:16:11 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Tue, 20 Oct 2020 12:07:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14019">@andrecool-68</a></p>
<p dir="auto">I think you missed the point of <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@Ekopalypse</a></p>
<p dir="auto">I saw somewhere I can’t find now about someone wanting to remember caret-position in a file that had been previously open (at some point) with N++, but is currently closed.</p>
<p dir="auto">This current encoding discussion seems a candidate for same.<br />
Meaning:  Create/maintain some sort of database for this info (encoding, caret position) and then when a file is opened, see if the file was previously encountered; if so restore last-known encoding selection and caret.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58852</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58852</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 20 Oct 2020 12:07:04 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Tue, 20 Oct 2020 11:46:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@Ekopalypse</a><br />
In AkelPad you can reopen a document 1000 times and re-save 1000 times without breaking the file content, and Notepad ++ cannot boast of that.<br />
I mean working with encoding))</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58849</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58849</guid><dc:creator><![CDATA[andrecool-68]]></dc:creator><pubDate>Tue, 20 Oct 2020 11:46:31 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Tue, 20 Oct 2020 11:19:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14019">@andrecool-68</a><br />
Npp has no chance to find out what encoding it is, neither does AkelPad.</p>
<p dir="auto">What AkelPad does is to save the selected encoding in HKEY_CURRENT_USER\Software\Akelsoft\AkelPad\Recent.</p>
<p dir="auto">If you open enough other documents, more than 10, and you have not changed the default setting, you will see that AkelPad opens your batch file with ANSI encoding as well.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58847</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58847</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 20 Oct 2020 11:19:39 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Tue, 20 Oct 2020 09:20:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@Ekopalypse</a> An example of an error:</p>
<p dir="auto"><img src="/assets/uploads/files/1603185568351-oem-866.png" alt="oem-866.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/58844</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58844</guid><dc:creator><![CDATA[andrecool-68]]></dc:creator><pubDate>Tue, 20 Oct 2020 09:20:53 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Mon, 19 Oct 2020 17:13:45 GMT]]></title><description><![CDATA[<p dir="auto">But…<br />
It does seem like I as a user should be able to tell the software: "If a file can’t officially be identified via a BOM, then open it as ‘xxxxxxx’ " (UTF-8 for me! but YMMV).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58823</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58823</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 19 Oct 2020 17:13:45 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Mon, 19 Oct 2020 17:07:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/195">@guy038</a> said in <a href="/post/58821">Help for an ANSI file</a>:</p>
<blockquote>
<p dir="auto">First, I suppose that, in your Settings &gt; Preferences… &gt; New Document &gt; Encoding</p>
</blockquote>
<p dir="auto">Right on the settings assumptions, except for me The Autodetect character encoding option is CHECKED</p>
<blockquote>
<p dir="auto">So, although files with NUL characters are not common in classical text files, I suppose that this bug need creating an issue. What is your feeling about it ?</p>
</blockquote>
<p dir="auto">Well, I was just sort of experimenting around.  NUL characters are not something I typically use.  Although I do have the feeling that if Scintilla allows them in the buffer (and clearly it does because I can see a black-boxed “NUL”), then Notepad++ itself should try and “do the right thing” (whatever that is) about them.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58822</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58822</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 19 Oct 2020 17:07:56 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Mon, 19 Oct 2020 16:40:40 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@alan-kilborn</a> and <strong>All</strong>,</p>
<p dir="auto">Well, <strong>Alan</strong>, I guess the problem and there is a real <strong>bug</strong> !</p>
<hr />
<p dir="auto">First, I suppose that, in your <strong><code>Settings &gt; Preferences... &gt; New Document &gt; Encoding</code></strong> :</p>
<ul>
<li>
<p dir="auto">The <strong><code>UTF-8</code></strong> encoding ( <strong>Not</strong> the <strong><code>UTF-8 with BOM</code></strong> one ) is selected</p>
</li>
<li>
<p dir="auto">The <strong><code>Apply to opened ANSI files</code></strong> option is <strong>selected</strong></p>
</li>
</ul>
<p dir="auto">And in <strong><code>Settings &gt; Preferences... &gt; New Document &gt; MISC.</code></strong> :</p>
<ul>
<li>The <strong><code>Autodetect character encoding</code></strong> option is <strong>UNCHECKED</strong></li>
</ul>
<p dir="auto">Note <strong>Alan</strong>, that is also my <strong>own</strong> configuration, too !</p>
<hr />
<p dir="auto">Now, let’s suppose that you open an N++ <strong>new</strong> file =&gt; So, in the <strong>status</strong> bar, the <strong><code>UTF-8</code></strong> encoding is displayed : <strong>logical</strong> !</p>
<p dir="auto">Now just write the string <strong>ABCD</strong>, save this <strong>new</strong> file as <strong><code>Test.txt</code></strong> and close Notepad++</p>
<p dir="auto">While opening this file, any editor, <strong>without</strong> any other indication, <strong>cannot</strong> tell  which is its <strong>right</strong> encoding :</p>
<ul>
<li>
<p dir="auto">It could be encoded with <strong>four</strong> bytes <strong><code>41424344</code></strong> in an <strong><code>ANSI</code></strong> file ( so any <strong>Windows</strong> encoding as <strong><code>Win-1252</code></strong>, <strong><code>Win-1251</code></strong>, … because the <strong><code>ASCII</code></strong> part, from <strong><code>00</code></strong> to <strong><code>7F</code></strong> is <strong>identical</strong></p>
</li>
<li>
<p dir="auto">It could be encoded, also, with <strong>four</strong> bytes <strong><code>41424344</code></strong> in a N++ <strong><code>UTF-8</code></strong> file ( so <strong>without</strong> a <strong><code>BOM</code></strong> ). Indeed, with the <strong><code>UTF-8</code></strong> encoding, any character with code-point <strong>under</strong> <strong><code>\x{0080}</code></strong> is coded with in <strong><code>1</code></strong> byte only, from <strong><code>00</code></strong> to <strong><code>7F</code></strong></p>
</li>
</ul>
<p dir="auto">But, as we have the setting <strong><code>Apply to opened ANSI files</code></strong> <strong>set</strong>, when you <strong>re</strong>-open the <strong><code>Test.txt</code></strong> file, again, you should see the <strong><code>UTF-8</code></strong> indication in the <strong>status</strong> bar</p>
<p dir="auto">And, adding the <strong>SOH</strong> character ( <strong><code>\x{01}</code></strong> ) , or any character till <strong><code>\x{1F}</code></strong> ( I verified ), between <strong>AB</strong> and <strong>CD</strong> does not change anything. The encoding will remain <strong><code>UTF-8</code></strong> !</p>
<p dir="auto">But, adding the <strong>NUL</strong> character change <strong>does</strong> change the encoding as <strong><code>ANSI</code></strong>, which is in <strong>contradiction</strong> with our user <strong>settings</strong> ! However, this particular case ( <strong>NUL</strong> char + pure <strong><code>ASCII</code></strong> chars, <strong>only</strong> ) does not really matter as current contents file do <strong>not</strong> change when switching from <strong>ANSI</strong> to <strong><code>UTF-8</code></strong> and vice-versa, anyway !</p>
<hr />
<p dir="auto">Now, what’s more <strong>annoying</strong> is that the presence of the <strong>NUL</strong> character still forces the <strong><code>ANSI</code></strong> encoding, <strong>even if</strong> a character, with code <strong>over</strong> <strong><code>\x{007F}</code></strong>, is <strong>added</strong> to the file :-(( For instance, if you add the very common <strong>French</strong> char <strong><code>é</code></strong>, to get the string <strong><code>AB</code>NUL<code>CDé</code></strong> and save this file with an <strong><code>UTF-8</code></strong> encoding, when you <strong>re</strong>-open this file, the encoding is <strong>wrongly</strong> changed to <strong><code>ANSI</code></strong>. So, the <strong>wrong</strong> string <strong><code>AB</code>NUL<code>CDÃ©</code></strong> is displayed !</p>
<p dir="auto">Remember that the contents of <strong><code>Test.txt</code></strong> file, the string <strong><code>AB</code>NUL<code>CDé</code></strong>, after saving, are <strong><code>4142004344C3A9</code></strong> with the <strong><code>UTF-8</code></strong> encoding ( This same string, would be coded <strong><code>4142004344E9</code></strong> in an <strong><code>ANSI</code></strong> file )</p>
<p dir="auto">So, although files with <strong>NUL</strong> characters are <strong>not</strong> common in classical <strong>text</strong> files, I suppose that this <strong>bug</strong> need creating an <strong>issue</strong>. What is your feeling about it ?</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58821</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58821</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Mon, 19 Oct 2020 16:40:40 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Mon, 19 Oct 2020 15:14:58 GMT]]></title><description><![CDATA[<p dir="auto">My understanding, when having autodetection disabled, is the following:</p>
<p dir="auto">A Scintilla buffer is initialized with _codepage = ::GetACP().<br />
The entry point is</p>
<pre><code class="language-c">Notepad_plus::doOpen(const generic_string&amp; fileName, bool isRecursive, bool isReadOnly, int encoding, const TCHAR *backupFileName, FILETIME fileNameTimestamp)
</code></pre>
<p dir="auto">The following steps are performed</p>
<ol>
<li>npp checks if the file is an html or xml file and if the encoding can be read from the prolog.</li>
<li>when it is loaded from a session, it gets the encoding that was used before<br />
else</li>
<li>Npp tries to find out if it is Unicode or ANSI (I don’t understand this part of the code)<br />
if it is a Unicode, the encoding is set accordingly<br />
otherwise Npp checks if “open ANSI as utf8” is configured and sets either ANSI or utf8</li>
</ol>
]]></description><link>https://community.notepad-plus-plus.org/post/58818</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58818</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Mon, 19 Oct 2020 15:14:58 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Mon, 19 Oct 2020 14:23:01 GMT]]></title><description><![CDATA[<p dir="auto">I did some more tangential playing around with this.</p>
<p dir="auto">I found that N++ will open a “7-bit ASCII” file (not sure how to really say that!) that has a NUL character in it, as ANSI.  All other characters are your typical A-z0-9.<br />
But if the NUL is replaced with a SOH character, N++ opens it as UTF-8.<br />
Curious about why it does it differently.</p>
<p dir="auto">Of course, I’m mostly set up (I think) to have it work with UTF-8, but I’m less and less sure as the discussion goes on, what I <em>should</em> have selected in the <em>Preferences</em> to do this. :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58813</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58813</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 19 Oct 2020 14:23:01 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Mon, 19 Oct 2020 13:16:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3182">@gstavi</a> said in <a href="/post/58802">Help for an ANSI file</a>:</p>
<p dir="auto">I am also not convinced that it works 100%, and I have tried to understand this part of the code, but I have to admit that it is quite confusing for me.</p>
<p dir="auto">I agree, it would be nice to have a possibility to force an encoding but<br />
what I would like to have is to force a lexer to a specific encoding.<br />
Like batch to OEM850 and python to utf8 …</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58806</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58806</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Mon, 19 Oct 2020 13:16:09 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Mon, 19 Oct 2020 13:10:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3182">@gstavi</a> said in <a href="/post/58802">Help for an ANSI file</a>:</p>
<blockquote>
<p dir="auto">user should be allowed to instruct Notepad++ to assume some specific UNICODE encoding rather than codepage</p>
</blockquote>
<p dir="auto">This might be relevant to that:</p>
<p dir="auto"><a href="https://community.notepad-plus-plus.org/post/58681">HERE</a> <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3841">@PeterJones</a> says:</p>
<blockquote>
<ol start="3">
<li>In the Settings &gt; Preferences &gt; New Document settings, if UTF-8 is chosen as your default encoding, you can also choose to always apply UTF-8 interpretation to files that Notepad++ opens and guesses are ANSI, not just to new files.</li>
</ol>
</blockquote>
<p dir="auto">It seems a bit strange, or downright bad, that this option is buried in with the “New Document” settings?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58804</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58804</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 19 Oct 2020 13:10:17 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Mon, 19 Oct 2020 13:04:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@Ekopalypse</a><br />
It is the first time I ever heard of GetACP and I wonder how a typical user should anticipate the behavior when he disables autodetect.<br />
And it is obviously still broken because a user should be allowed to instruct Notepad++ to assume some specific UNICODE encoding rather than codepage.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58802</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58802</guid><dc:creator><![CDATA[gstavi]]></dc:creator><pubDate>Mon, 19 Oct 2020 13:04:19 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Mon, 19 Oct 2020 12:45:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3182">@gstavi</a></p>
<blockquote>
<p dir="auto">If Notepad++ does not autodetect then it must assume some default.</p>
</blockquote>
<p dir="auto">I thought then it is ANSI, which depends on what GetACP returns for the current setup.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58797</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58797</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Mon, 19 Oct 2020 12:45:02 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Mon, 19 Oct 2020 12:13:03 GMT]]></title><description><![CDATA[<p dir="auto">In my humble opinion this is a user interface failure.<br />
What is the meaning of disable autodetect character encoding? If Notepad++ does not autodetect then it must assume some default. What is this default? – I tested and it is not the new file encoding.</p>
<p dir="auto">The UI should have had a radio button that selects one of two options:</p>
<ul>
<li>Autodetect character encoding.</li>
<li>Assume any opened files is &lt;combo box&gt;</li>
</ul>
<p dir="auto">There could be more advanced features like letting the user select a group of acceptable encodings for his region where Notepad++ must guess one of them. But that goes beyond UI.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58792</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58792</guid><dc:creator><![CDATA[gstavi]]></dc:creator><pubDate>Mon, 19 Oct 2020 12:13:03 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Sun, 18 Oct 2020 21:23:56 GMT]]></title><description><![CDATA[<p dir="auto">Конечно, моя кодировка 1252, а не 1251.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58765</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58765</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Sun, 18 Oct 2020 21:23:56 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Sun, 18 Oct 2020 21:19:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14019">@andrecool-68</a></p>
<p dir="auto">Если Вы отключили автоматическое распознавание и используете набор символов, противоречащий Вашим настройкам “ANSI”, блокнот++ не сможет отобразить документ в правильном формате.</p>
<p dir="auto">Вот пример:<br />
Я использую OEM850 и сохранил этот текст: “Неприятности в раю”.<br />
Если я сейчас запущу блокнот++ и открою файл, то блокнот++ покажет мне это.</p>
<p dir="auto"><img src="/assets/uploads/files/1603055949364-45836fed-1a5b-4b7d-abf8-c6260e0d4b6a-image.png" alt="45836fed-1a5b-4b7d-abf8-c6260e0d4b6a-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Он использует настройку операционной системы ANSI, которой для меня является CP1251.<br />
Это нормально, но блокнот++ всегда сообщает ANSI и больше ничего.<br />
Тот факт, что ты сообщаешь о разных вещах, вот что путает меня с твоим заявлением.<br />
Почему ANSI не всегда отображается? Странно.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58764</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58764</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Sun, 18 Oct 2020 21:19:13 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Sun, 18 Oct 2020 20:54:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@Ekopalypse</a><br />
<a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a><br />
My file is OEM 866 and notepad ++ opens it as Macintosh, Windows-1251, ANSI, UTF-8 (options are always different)</p>
<p dir="auto">For bat files, I need exactly the OEM 866 encoding.<br />
(sorry for my google translate)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58762</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58762</guid><dc:creator><![CDATA[andrecool-68]]></dc:creator><pubDate>Sun, 18 Oct 2020 20:54:23 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Sun, 18 Oct 2020 20:47:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@Ekopalypse</a> <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14019">@andrecool-68</a></p>
<p dir="auto">I am interested in how this conversation turns out.<br />
I would like to know if there is a bug with this or not.<br />
Note that I would not consider N++'s lack of autodetection of what the user thinks is the correct encoding a bug, but I would if the user sets and encoding, saves a file, and somehow N++ messes that up.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58760</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58760</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 18 Oct 2020 20:47:44 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Sun, 18 Oct 2020 20:42:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14019">@andrecool-68</a></p>
<p dir="auto">Hmmm … why should npp do this if you have automatic encoding detection disabled? Strange, it does not do this for me.<br />
Is OEM866 much different to cp1251?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58757</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58757</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Sun, 18 Oct 2020 20:42:43 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Sun, 18 Oct 2020 20:36:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@Ekopalypse</a><br />
Example:<br />
Initially the file is encoded OEM 866</p>
<p dir="auto">And notepad ++ opens up different options: Macintosh, Windows-1251, ANSI, UTF-8</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58755</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58755</guid><dc:creator><![CDATA[andrecool-68]]></dc:creator><pubDate>Sun, 18 Oct 2020 20:36:49 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Sun, 18 Oct 2020 20:07:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14019">@andrecool-68</a></p>
<p dir="auto">If you open a file, what shows npp in the statusbar? ANSI or cp1251?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58752</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58752</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Sun, 18 Oct 2020 20:07:33 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Sun, 18 Oct 2020 20:03:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@Ekopalypse</a><br />
Automatic encoding detection is always disabled for me. And when I need to reopen in the desired encoding, and Notepad ++ does the re-saving of the document without the possibility of rollback. So in such a situation, I need to do it in another editor, so as not to irrevocably lose this file. For example, AkelPad4 editor never breaks the Russian encoding.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58750</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58750</guid><dc:creator><![CDATA[andrecool-68]]></dc:creator><pubDate>Sun, 18 Oct 2020 20:03:21 GMT</pubDate></item><item><title><![CDATA[Reply to Help for an ANSI file on Sun, 18 Oct 2020 19:41:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14019">@andrecool-68</a></p>
<p dir="auto">is your windows system also setup with Russian language pack?<br />
If so, by disabling autodetect chacacter encoding you shouldn’t have any issues with cp1251 encoded files.<br />
Afaik npp uses your os encoding if you haven’t configured something else.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/58745</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58745</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Sun, 18 Oct 2020 19:41:04 GMT</pubDate></item></channel></rss>