<?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[Macro that changes file encoding and then saves?]]></title><description><![CDATA[<p dir="auto">I’m hoping to record a macro that will ‘convert to UTF-8’ and then save the file to a specific file name. I tried to use the “Start Recording” feature for this, but those actions aren’t captured. Is it possible to manually write a macro to do all of that?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/17999/macro-that-changes-file-encoding-and-then-saves</link><generator>RSS for Node</generator><lastBuildDate>Sun, 07 Jun 2026 23:37:06 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/17999.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 Jul 2019 13:25:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Macro that changes file encoding and then saves? on Wed, 31 Jul 2019 18:09:48 GMT]]></title><description><![CDATA[<p dir="auto">The NppExec plugin did the trick! Just two simple lines were all I needed:<br />
npp_menucommand Encoding\Convert to UTF-8<br />
NPP_SAVEAS: c:\users\clay\downloads\people.csv</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45799</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45799</guid><dc:creator><![CDATA[Clay Gibney]]></dc:creator><pubDate>Wed, 31 Jul 2019 18:09:48 GMT</pubDate></item><item><title><![CDATA[Reply to Macro that changes file encoding and then saves? on Fri, 26 Jul 2019 15:16:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/clay-gibney" aria-label="Profile: Clay-Gibney">@<bdi>Clay-Gibney</bdi></a></p>
<p dir="auto">I guess we won’t know if you can achieve this unless you give <a class="plugin-mentions-user plugin-mentions-a" href="/user/dinkumoil" aria-label="Profile: dinkumoil">@<bdi>dinkumoil</bdi></a> 's suggestion a try and report back on how it goes…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45659</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45659</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 26 Jul 2019 15:16:49 GMT</pubDate></item><item><title><![CDATA[Reply to Macro that changes file encoding and then saves? on Fri, 26 Jul 2019 14:38:14 GMT]]></title><description><![CDATA[<p dir="auto">Thank you. I have a daily task where I open a uniquely named CSV file, and I have to encode it to UTF-8 and then perform a Save-As to a specific file name so I can then upload it into another system. So I was hoping to turn a few of those steps into a macro/menu choice.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45658</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45658</guid><dc:creator><![CDATA[Clay Gibney]]></dc:creator><pubDate>Fri, 26 Jul 2019 14:38:14 GMT</pubDate></item><item><title><![CDATA[Reply to Macro that changes file encoding and then saves? on Thu, 25 Jul 2019 14:49:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/clay-gibney" aria-label="Profile: Clay-Gibney">@<bdi>Clay-Gibney</bdi></a></p>
<p dir="auto">It should be possible with one of the scripting plugins available, e.g. <em>NppExec</em>. This plugin (like others as well) allows to create a menu entry in the <code>Macro</code> menu which can be assigned to a keyboard shortcut.</p>
<p dir="auto">But you should elaborate more precisely what you meant with</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/clay-gibney" aria-label="Profile: Clay-Gibney">@<bdi>Clay-Gibney</bdi></a> said:</p>
<blockquote>
<p dir="auto">a specific file name</p>
</blockquote>
<p dir="auto">Automatically generated from the original file name, following a certain rule? Or provided by user by opening a file selector dialog?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45633</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45633</guid><dc:creator><![CDATA[dinkumoil]]></dc:creator><pubDate>Thu, 25 Jul 2019 14:49:36 GMT</pubDate></item></channel></rss>