It is an encoding problem, to solve it, I suggest:

  1. Encode the file to ANSI. The character \xB7 is now displayed ·
  2. Do the replace via Replace toolbox. Find: \xB7, Replace: what you want
  3. Encode to UTF-8
Answer from Toto on Stack Overflow
🌐
TMS Outsource
tms-outsource.com › home › how to find special characters in notepad++
How to Find Special Characters in Notepad++
May 15, 2026 - Notepad++’s Find dialog (Ctrl+F) gives you 3 distinct search modes. Each one handles special characters differently, and picking the wrong mode is the #1 reason searches return zero results. Extended mode is the fastest path to finding common non-printable characters.
🌐
Notepad++ Community
community.notepad-plus-plus.org › topic › 25128 › how-to-show-the-special-characters
How to show the special characters? | Notepad++ Community
November 14, 2023 - NPC Custom Color [background and foreground] ⇒ Sets the colors for the symbols for the Non-Printing Characters, which are also influenced by the Settings > Preferences > Editing > Non-Printing Characters settings. The “Go to settings” link will take you to Preferences > Editing so you can change Non-Printing Characters settings. ... That is presumably the TAB character symbol, which is affected by White space symbol setting. ... How to show the special characters?
People also ask

What is the fastest way to find special characters in Notepad++?
Press Ctrl+F, switch to Regular Expression mode, and enter [^\x20-\x7E] in the Find What field. Click Find All in Current Document. This pattern matches every character outside the printable ASCII range in a single operation.
🌐
tms-outsource.com
tms-outsource.com › home › how to find special characters in notepad++
How to Find Special Characters in Notepad++
How do I find and remove tab characters in Notepad++?
Open Find and Replace (Ctrl+H), select Extended mode, type \t in Find What, leave Replace With empty, and click Replace All. This removes every tab character from the current document instantly.
🌐
tms-outsource.com
tms-outsource.com › home › how to find special characters in notepad++
How to Find Special Characters in Notepad++
How do I find invisible characters across multiple files in Notepad++?
Use Find in Files (Ctrl+Shift+F). Set the directory, apply a file filter like *.txt, select Regular Expression mode, and enter your pattern. Results appear in the Search Results panel with file names and line numbers.
🌐
tms-outsource.com
tms-outsource.com › home › how to find special characters in notepad++
How to Find Special Characters in Notepad++
🌐
W3Schools
w3schools.io › editor › notepad++-view-hidden-chars
How do view special hidden characters in notepad++ Text file? - w3schools
December 31, 2023 - Go to View Menu > Select Show Symbol > Select Show All Characters. It displays all hidden characters in the opened file. Also, there are other options to the Show Symbol menu item.
🌐
YouTube
youtube.com › watch
NOTEPAD++ TUTORIAL: Show Symbols Or Special Characters: Quick Tip - YouTube
This Notepad++ video tip will show you how to Show all characters or symbols in Notepad++. It can show you non-alphanumeric or hidden characters such as spac...
Published   January 23, 2021
🌐
YouTube
youtube.com › watch
Show Unicode Special Characters in Noteapd++ (Pound Symbol & UTF Characters) - YouTube
In this tutorial we will learn how Notepad++ can show Special Characters such as pound symbol or other unicode characters easily. You can quickly find these ...
Published   August 19, 2023
Find elsewhere
🌐
Quora
quora.com › How-can-I-locate-a-file-through-Notepad-that-has-a-special-character-like-á
How to locate a file through Notepad that has a special character (like 'á') - Quora
Answer (1 of 7): You would need an editor that allows searching via regular expressions. Notepad is a bare-bones editor that does not have this capability. With an editor that supports regular expressions, you could simply search for a match to a large character class containing every character...
🌐
Blogger
soalicious.blogspot.com › 2024 › 07 › notpad-how-to-find-special-characters.html
soalicious: Notepad ++ - How to Find special characters in data in notepad++
July 2, 2024 - Click ‘Find’. It will highlight the row where the special character is. Click ‘Close’ and the cursor will be place immediately after the special character if one is found. (cursor will return to where the search began if no special characters are found).
🌐
Ntia
elcidonline.ntia.gov › help › Documents › How to Find Special Characters in Data.pdf pdf
How To Find Special Characters In Data
If you are cutting and pasting from a text file, such as an XML file, you can find non-ASCII characters as ... 7. Click ‘Close’ and the cursor will be place immediately after the special character if one is found · (cursor will return to where the search began if no special characters ...
🌐
DataGenX
datagenx.net › 2015 › 12 › notepad-tip-find-out-non-ascii.html
Notepad++ tip - Find out the non-ascii characters - DataGenX - Atul's Scratchpad
Now how to resolve this, here is the way if you are using notepad++ as a text editor. 1. Ctrl-F ( View -> Find ) 2. put [^\x00-\x7F]+ in search box 3. Select search mode as 'Regular expression' 4.
🌐
YouTube
youtube.com › watch
How to View Hidden Characters in Notepad++ - YouTube
Learn how to uncover hidden characters in your text using Notepad++. Whether you're troubleshooting formatting issues, debugging code, or just curious, this ...
Published   September 2, 2023
🌐
YouTube
youtube.com › techtown
Show/hide Hidden, Control, Special Characters in Notepad++ - YouTube
Plain text has different Characters, Numbers, and Special characters like CR, LF, Space, TAB, and others special characters. CR, LF, Space, and TABS are inv...
Published   January 16, 2023
Views   670
🌐
YouTube
youtube.com › watch
How to use Notepad++ to Find and Fix Bad Characters in a String or Text File - YouTube
As a data analyst, sometimes you’ll encounter situations where a text file, or a web API response string, or a database field value is crashing your software...
Published   September 23, 2021
🌐
Notepad++ Community
community.notepad-plus-plus.org › topic › 21134 › how-to-find-and-replace-unrecognizable-characters-in-multiple-files-of-a-folder-with-the-correct-character-using-notepad
How to find and replace unrecognizable characters in multiple files of a folder with the correct character using Notepad ++? | Notepad++ Community
May 10, 2021 - PeterJones I found a method to find all non-ascii characters from multiple files of a folder here: notepad-tip-find-out-non-ascii I think I should check all that individually but if you know a less time consuming method, please let me know!
Top answer
1 of 2
21

Regarding searching by UTF-16 code

To search by Unicode codepoints using UTF-16 you'd use \x{FEC1}, and it works whether the file is encoded with UTF-8 or UTF-16.

Bear in mind you wouldn't need to search by the UTF-8 code, because you can search by the UTF-16 code. But to address the part of your question that asks how do you search for that character by the UTF-8 code...

Regarding searching by UTF-8 code

You can't. Well, you sort of can, but it's a hideous hack and you really shouldn't.

The obvious thing to try would be to search for \xef\xbb\x81 in your UTF-8 encoded document, but that doesn't work. (Note there's no {} here: Notepad++ expects either \xNN for 2 hex digits, or \x{NNNN} for 4 hex digits). That's because Notepad++ doesn't actually search for byte values, it searches for Unicode codepoints. So you can search for the codepoint U+FEC1, but not for the UTF-8 bytes 0xEF 0xBB 0x81, because Notepad++ "hides" the encoding details from you. (Because in nearly every scenario, someone editing a text file will care far more about finding the actual character than about finding the UTF-8 bytes.)

There's another trick you might try, which is to take that UTF-8 encoded file and choose the Encoding → Encode in ANSI menu option, at which point ﻁﻁﻉﻁﻉﻁﻉ appears to become ï»ï»ï»‰ï»ï»‰ï»ï»‰. (I say "appears to become" rather than "becomes" because... well, read on.) This is because it has taken the UTF-8 text of your file, and reinterpreted it as "ANSI" (which is a terrible encoding name because it's completely wrong, and should really be called "Windows-1252", but that's a different question). (By the way, the reason that ﻁﻁﻉﻁﻉﻁﻉ looks backwards in my text than the way it does in your screenshot: that's because Notepad++ doesn't care that Arabic is written right-to-left, so it shows the characters left-to-right in the order they were pasted into the file. But your browser does care about presenting Arabic in proper right-to-left order, the first two letters of that string (ﻁﻁ) appear on the right-hand side of the string, not on the left-hand side as they seem to in Notepad++). Digressions aside, here's why this will be helpful. In the "ANSI" (really Windows-1252) encoding, each byte is a single character, and so now you're going to be able to search by individual bytes. Now, if you search for \xef\xbb\x81 (which doesn't need to be a regular expression, just an "Extended" search), it will find the characters. Sort of. It will look like it's highlighting the two characters ï», but it's really highlighting three characters: ï, », and an "invisible" 0x81 character that doesn't really exist. (Because there is no character at the 0x81 point in Windows-1252 encoding: see for yourself.) And now you see why I said "appears to become" -- because your UTF-8 encoded text has really become ï»_ï»_ﻉï»_ﻉï»_ﻉ, where _ represents an "invisible" character that doesn't officially exist in the Windows-1252 codepage. Anyway, now that you've found the sequence of three characters with the byte values 0xEF, 0xBB, and 0x81 in Windows-1252, and Notepad++ has highlighted them, you can choose the Encoding → Encode in UTF-8 menu option, and your text will convert itself back to UTF-8, while Notepad++ will keep the highlight in the same place -- and thus, you'll find that one character has been highlighted.

So why do I say that you really shouldn't do this? Because the only reason that it works is that Notepad++ didn't do the right thing when you switched codepages. The right thing to do when you find a missing character is to complain, or insert a character like the Unicode replacement character (or a simple ? if you're in a legacy codepage that doesn't have in it), or do something so that the user will know they had an invalid character in their text. Errors should never be silently ignored, and having a 0x81 value in Windows-1252 text is an error. The only reason this trick works is because Notepad++ does the wrong thing with invalid characters (that is, it ignores them). So you really shouldn't rely on this trick: with any update to Notepad++, it could change its undocumented (and wrong) behavior, and start putting proper replacement characters in wrongly-encoded text, at which point this trick would fail. Stick to searching for real Unicode codepoints, and you'll be much better off.

By the way, the reason why your original attempt ([\uFEC1]) failed is because, according to Notepad++'s regular expression syntax, \u means "an uppercase letter". (Remember that in regular expressions, brackets represent "any of these characters"). The docs further say, "See note about lower case [sic] letters," and the note about lowercase letters says "this will fall back on "a word character" if the "Match case" search option is off." As it is in your screenshot. Therefore, the regex [\uFEC1] is searching for "any word character, or F, or E, or C, or 1" -- which matches every single character in your sample text.

Phew, that turned out to be a very long answer for what I said would be "very simple". I hope this helps you understand Unicode a bit better; if so, the hour I spent typing this up will have been worth it.

2 of 2
9

Take a look: Anyone know how to use Regex in notepad++ to find Arabic characters?

Because Notepad++'s implementation of Regular Expressions requires that you use the

\x{NNNN}

notation to match Unicode characters.

In your example,

\x{FEC1} 
🌐
Notepad++ User Manual
npp-user-manual.org › docs › searching
Searching | Notepad++ User Manual
Search Actions There are multiple methods to search (and replace) text in files. You can also mark search results with a bookmark on their lines, or highlight the textual results themselves. Generating a count of matches is also possible. There are three main built-in search mechanisms: the standard (dialog-based) Find / Replace / Find In Files / Mark, the dialog-free Next / Previous search-navigation, and the Incremental Search.