<?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[Differentiate default encoding by file extension]]></title><description><![CDATA[<p dir="auto">HTML5 requires that files be encoded in UTF-8, so all php, html, css, and js files should be saved in that way. All the other text files, as txt, conf, ini, and so forth could be saved in ISO-8859-1. Is there a way to differentiate the default encoding by extension in Notepad++?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/15760/differentiate-default-encoding-by-file-extension</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 08:50:53 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/15760.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 12 May 2018 08:20:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Differentiate default encoding by file extension on Sun, 13 May 2018 22:44:51 GMT]]></title><description><![CDATA[<p dir="auto">Good idea. I’m also interested in this.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32237</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32237</guid><dc:creator><![CDATA[SalviaSage]]></dc:creator><pubDate>Sun, 13 May 2018 22:44:51 GMT</pubDate></item><item><title><![CDATA[Reply to Differentiate default encoding by file extension on Sat, 12 May 2018 20:31:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dario-de-judicibus" aria-label="Profile: Dario-de-Judicibus">@<bdi>Dario-de-Judicibus</bdi></a></p>
<blockquote>
<p dir="auto">Is there a way to differentiate the default encoding by extension in Notepad++?</p>
</blockquote>
<p dir="auto">afaik, no, not with native npp functions/settings.</p>
<p dir="auto">A possible solution might involve scripting language plugins like python script, lua script etc. One could register a callback function when a file gets loaded/activated<br />
and then checks the file extension and acts accordingly.</p>
<p dir="auto">Cheers<br />
Claudia</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32224</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32224</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Sat, 12 May 2018 20:31:36 GMT</pubDate></item></channel></rss>