<?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[Search and replace special characters ANSI-UTF]]></title><description><![CDATA[<p dir="auto">hello, how can I search and replace special ANSI-UTF characters like: <code>xE2, xEE, xCE, x80, x9D, x9E</code> etc</p>
<p dir="auto">I try to search and replace in normal mode and with regex, but nothing happen:</p>
<p dir="auto">xE2 = (â)<br />
xEE = (î),<br />
xCE = (Î)</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/12897/search-and-replace-special-characters-ansi-utf</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 03:05:32 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/12897.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 11 Dec 2016 17:22:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Search and replace special characters ANSI-UTF on Sat, 09 Apr 2022 06:55:53 GMT]]></title><description><![CDATA[<p dir="auto">I use this regex to find ANSI characters in all my documents:</p>
<p dir="auto">FIND: <code>¾|Ð|¼|°|Ñ|Ä|¢|º|ª|Å|Ÿ|ž|È|æ|Ã|¢|£|®|º|©|€|§|®|™|¢</code></p>
<p dir="auto">in almost all ANSI characters these signs are repeated:  <code>¾|Ð|¼|°|Ñ</code></p>
<p dir="auto">But I use that longer regex, to make sure I don’t miss anything.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/75883</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/75883</guid><dc:creator><![CDATA[rodica F]]></dc:creator><pubDate>Sat, 09 Apr 2022 06:55:53 GMT</pubDate></item><item><title><![CDATA[Reply to Search and replace special characters ANSI-UTF on Sun, 11 Dec 2016 21:04:51 GMT]]></title><description><![CDATA[<p dir="auto">Hi <strong>Vasile</strong> and <strong>All</strong>,</p>
<p dir="auto">Since my <strong>previous</strong> post, I noticed some <strong>odd</strong> things :</p>
<ul>
<li>Firstly, for most of the cases, in <strong>extended</strong> search mode, the search, in an <strong>ANSI</strong> encoded file, of the syntax <strong><code>\xmn</code></strong>, between <strong><code>\x80</code></strong> and <strong><code>\x9f</code></strong> ( which represents the range of <strong>Unicode C1 Control</strong> characters ), get the classical <strong>Interrogation Mark</strong> ( <strong><code>\x3F</code></strong> ), instead of saying <strong>0 matches</strong>, which should be the <strong>correct</strong> answer  !</li>
</ul>
<p dir="auto">Refer to  :</p>
<p dir="auto"><a href="http://www.unicode.org/charts/PDF/U0080.pdf" rel="nofollow ugc">http://www.unicode.org/charts/PDF/U0080.pdf</a></p>
<ul>
<li>Secondly, when using the <strong>Regular expression</strong> search mode, the behaviour of the search, in an <strong>ANSI</strong> encoded file, seems <strong>different</strong>, than with an other <strong>NON-Unicode</strong> encoding, got from the menu option <strong>Encoding &gt; Character Sets</strong> !?</li>
</ul>
<p dir="auto">Therefore, I <strong>updated</strong> my <strong>previous post</strong>, to reflect these <strong>restrictions</strong> !</p>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/19874</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/19874</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sun, 11 Dec 2016 21:04:51 GMT</pubDate></item><item><title><![CDATA[Reply to Search and replace special characters ANSI-UTF on Sun, 11 Dec 2016 19:08:21 GMT]]></title><description><![CDATA[<p dir="auto">thanks guy038,  you are always perfect !</p>
]]></description><link>https://community.notepad-plus-plus.org/post/19869</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/19869</guid><dc:creator><![CDATA[Vasile Caraus]]></dc:creator><pubDate>Sun, 11 Dec 2016 19:08:21 GMT</pubDate></item><item><title><![CDATA[Reply to Search and replace special characters ANSI-UTF on Sun, 11 Dec 2016 20:33:07 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <strong>Vasile</strong>,</p>
<p dir="auto">Post, <strong>updated</strong> on <strong>12-11-2016</strong>, at <strong>21h30</strong> ( <strong>French</strong> TZ ) !</p>
<p dir="auto">The <strong>accentuated</strong> characters, whose <strong>Unicode</strong> code-points is between <strong><code>\x00c0</code></strong> and <strong><code>\x00ff</code></strong> can be <strong>easily</strong> searched with the following syntaxes :</p>
<ul>
<li>
<p dir="auto"><strong>A)</strong> If your <strong>current</strong> file has an <strong>Unicode</strong> encoding ( <strong><code>UTF-8</code></strong>, <strong><code>UTF-8 BOM</code></strong>, <strong><code>UCS-2</code></strong>, <strong><code>BE BOM</code></strong> or <strong><code>UCS-2 LE BOM</code></strong>) :</p>
<ul>
<li>
<p dir="auto"><strong><code>\xmn</code></strong> , where <strong>m</strong> and <strong>n</strong> belong to <strong>[0-9A-Fa-f]</strong>, if search mode = <strong><code>Extended</code></strong> OR <strong><code>Regular expression</code></strong></p>
</li>
<li>
<p dir="auto"><strong><code>\x{mn}</code></strong> , where <strong>m</strong> and <strong>n</strong> belong to <strong>[0-9A-Fa-f]</strong>, if search mode = <strong><code>Regular expression</code></strong></p>
</li>
<li>
<p dir="auto"><strong><code>\x{00mn}</code></strong> , where <strong>m</strong> and <strong>n</strong> belong to <strong>[0-9A-Fa-f]</strong>, if search mode = <strong><code>Regular expression</code></strong></p>
</li>
</ul>
</li>
</ul>
<hr />
<ul>
<li>
<p dir="auto"><strong>B)</strong> If your <strong>current</strong> file has the <strong><code>ANSI</code></strong> encoding :</p>
<ul>
<li>
<p dir="auto"><strong><code>\xmn</code></strong> , where <strong>m</strong> belongs to <strong>[0-7A-Fa-f]</strong> and <strong>n</strong> belongs to <strong>[0-9A-Fa-f]</strong>, if search mode = <strong><code>Extended</code></strong></p>
</li>
<li>
<p dir="auto"><strong><code>\xmn</code></strong> , where <strong>m</strong> and <strong>n</strong> belong to <strong>[0-9A-Fa-f]</strong>, if search mode = <strong><code>Regular expression</code></strong></p>
</li>
<li>
<p dir="auto"><strong><code>\x{mn}</code></strong> , where <strong>m</strong> belongs to <strong>[0-7]</strong> and <strong>n</strong> belongs to <strong>[0-9A-Fa-f]</strong>, if search mode = <strong><code>Regular expression</code></strong></p>
</li>
<li>
<p dir="auto"><strong><code>\x{00mn}</code></strong> , where <strong>m</strong> belongs to <strong>[0-7]</strong> and <strong>n</strong> belongs to <strong>[0-9A-Fa-f]</strong>, if search mode = <strong><code>Regular expression</code></strong></p>
</li>
</ul>
</li>
</ul>
<hr />
<ul>
<li>
<p dir="auto"><strong>C)</strong> If your <strong>current</strong> file has a <strong><code>NON</code> Unicode</strong> encoding, from <strong>Encoding &gt; Character Sets</strong> ) :</p>
<ul>
<li>
<p dir="auto"><strong><code>\xmn</code></strong> , where <strong>m</strong> and <strong>n</strong> belong to <strong>[0-9A-Fa-f]</strong>, if search mode = <strong><code>Extended</code></strong> OR <strong><code>Regular expression</code></strong></p>
</li>
<li>
<p dir="auto"><strong><code>\x{mn}</code></strong> , where <strong>m</strong> and <strong>n</strong> belong to <strong>[0-9A-Fa-f]</strong>, if search mode = <strong><code>Regular expression</code></strong></p>
</li>
<li>
<p dir="auto"><strong><code>\x{00mn}</code></strong> , where <strong>m</strong> and <strong>n</strong> belong to <strong>[0-9A-Fa-f]</strong>, if search mode = <strong><code>Regular expression</code></strong></p>
</li>
</ul>
</li>
</ul>
<hr />
<p dir="auto">Of course, from your <strong>example</strong> :</p>
<pre><code>xE2 = (â)
xEE = (î)
xCE = (Î)
</code></pre>
<p dir="auto">As you have, both, the <strong>upper-case</strong> letter <strong><code>Î</code></strong> and the <strong>lower-case</strong> <strong><code>î</code></strong>, you’ll need to check the <strong>Match case</strong> option or to put the <strong><code>(?-i)</code></strong> modifier, in front of <strong><code>\x..</code></strong>, in order to get the <strong>right</strong> letter, only !</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/19867</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/19867</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sun, 11 Dec 2016 20:33:07 GMT</pubDate></item></channel></rss>