I wonder how do I search and replace unicode character xE5" with æ

Note that æ is actually Unicode 00E6 not 00E5.

Search and replace is not the right way to get the correct characters displayed.

<?xml version="1.0" encoding="utf-8"?>

The above states the encoding is utf-8 but the file is actually encoded as ANSI.

You need to convert the file correctly to UTF-8, as follows:

  1. Open Testfile.xlf

  2. File looks like:

    Unicode is incorrectly displayed.

  3. Menu > Encoding > Select Encode in ANSI

  4. File looks like:

    Unicode is correctly displayed.

  5. Select all file contents (ctrl+a)

  6. Menu > Encoding > Select Convert to UTF-8

  7. Save the File (ctrl+s)

  8. Close and reopen.

  9. File is now correctly encoded as UTF-8 and Unicode characters display correctly.


How can you see the file is actually ANSI?

The cygwin file utility shows this (before and after conversion):

DavidPostill@Hal /f/test
$ file -i Testfile*.xlf
Testfile.xlf:          application/xml; charset=iso-8859-1
TestfileConverted.xlf: application/xml; charset=utf-8
Answer from DavidPostill on Stack Exchange
🌐
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 › 26
How to find and replace unrecognizable characters in multiple files of a folder with the correct character using Notepad ++? | Notepad++ Community
July 5, 2021 - @PeterJones I finally found a solution here: how-to-find-non-ascii-unprintable-characters-using-notepad-plus-plus We have to select the Regular expression mode and search/find with this code: [\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x9F] I will do the replacements one by one instead of using “Replace all”
🌐
Notepad++ Community
community.notepad-plus-plus.org › topic › 16428 › how-to-change-all-invalid-characters-to-spaces
How to change all invalid characters to spaces | Notepad++ Community
October 10, 2018 - For the Replace: Type in a real space. ... You are probably encountering a special “space” called a “no-break space”. See here for more info. You likely don’t need the “html” step you mentioned.
Discussions

Notepad++ / Discussion / [READ ONLY] Help: Remove specific word in line and all characters after
I have a document that's littered with duplicate entries in every line. For example: · 003 - Alpha Moon Lander (Proxy) 003 - Alpha Moon Lander (Proxy) More on sourceforge.net
🌐 sourceforge.net
June 11, 2015
expression - How do I remove all non-ASCII characters with regex and Notepad++? - Stack Overflow
I searched a lot, but nowhere is it written how to remove non-ASCII characters from Notepad++. I need to know what command to write in find and replace (with picture it would be great). If I want to More on stackoverflow.com
🌐 stackoverflow.com
Bug, Fail to find NO-BREAK SPACE unicode character using "Find in files"
Description of the Issue When using "Find in files" notepad++ fails to find the character unicode NO-BREAK SPACE. the issue happends either by using regular expression, or extended search mode. [\xA0]+ [^\x00-\x7F]+ This only happend if ... More on github.com
🌐 github.com
2
October 12, 2019
Notepad++ fails to properly encode extended plane unicode characters
Hey guys, I'm new to encoding but I'm pretty sure I've got this one down to a problem in notepad++. This might just be me realizing how silly I am. However, I wanted to test our applica... More on github.com
🌐 github.com
3
April 6, 2016
🌐
Oracle FAQ
orafaq.com › forum › t › 207420
OraFAQ Forum: SQL & PL/SQL » Space is replaced by xA0 in SQL Query
February 18, 2021 - Hi, I am extracting data from an Oracle table. The file generated is in ANSI (came to konw form Notepad++ Encoding option). When I open the file in notepad, I see "STUDENT FEES" (space between 2 words) but when I change the Encoding to UTF-8 space is replaced by "xA0".
🌐
Notepad++ Community
community.notepad-plus-plus.org › topic › 23979 › replace-ascii-160-with-spaces
Replace ascii 160 with spaces | Notepad++ Community
January 6, 2023 - Open the Replace dilaog ( Ctrl + H ) Untick ALL buttons · Tick the Wrap around box option · Now, 2 ways are possible : SEARCH \d160 or \xA0 · REPLACE \x20 · Select the Extended (\n, \r, \t, \0, \x...) search mode ·
🌐
The Silicon Underground
dfarq.homeip.net › security › remove unicode and extended ascii in notepad++
Remove Unicode and extended ASCII in Notepad++
April 4, 2023 - First, open the file in Notepad++, the open source text editor for Windows. You can do this job with a simple search and replace. You can pull up search and replace from the menu, or just hit control h. Control h is one of my favorite keyboard ...
🌐
Notepad++ Community
community.notepad-plus-plus.org › topic › 19862 › replace-non-breaking-space-utf-8-c2-a0
Replace non-breaking space UTF-8 (C2 A0) | Notepad++ Community
August 14, 2020 - Replace it with anything you want. ... mkupper Searching for \x{A0} finds all my newlines too, I just want the non-breaking spaces (and replace them all with normal spaces).
Find elsewhere
🌐
SourceForge
sourceforge.net › home › browse › notepad++ › discussion
Notepad++ / Discussion / [READ ONLY] Help: Remove specific word in line and all characters after
June 11, 2015 - Click on the Replace All button · Notes : If repeated sequences can't be found, in a line, the current line is considered to be an unique sequence of all its characters ! For a correct behaviour of the regex, it's better to use the two anchors ^ and $ The \h syntax matches less characters than the \s form. Only, the 3 characters, below : The Space ( \x20 ) The Horizontal Tabulation ( \x09 ) The No Break Space ( \xa0 ) The part to keep (.+?) represents the smallest string, eventually repeated, which will be rewritten, due to the syntax \1, in the replacement zone ·
🌐
Notepad++ Community
community.notepad-plus-plus.org › topic › 13433 › show-no-break-space
Show no-break space | Notepad++ Community
November 24, 2025 - Of course, for searching any NO-BREAK SPACE, just type \xa0, in the Find dialog.
🌐
PerlMonks
perlmonks.org
Unregognized character \xA0
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: · What's wrong with my hash? It says the error occurs on the line of "two" => "2" my %numbers = ( "one" => "1", "two" => "2", "three" => "3" ); print $numbers{"one"}; [download] Comment ...
🌐
GitHub
github.com › notepad-plus-plus › notepad-plus-plus › issues › 6213
Bug, Fail to find NO-BREAK SPACE unicode character using "Find in files" · Issue #6213 · notepad-plus-plus/notepad-plus-plus
October 12, 2019 - Description of the Issue When using "Find in files" notepad++ fails to find the character unicode NO-BREAK SPACE. the issue happends either by using regular expression, or extended search mode. [\xA0]+ [^\x00-\x7F]+ This only happend if ...
Author   notepad-plus-plus
🌐
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. Volla !! This will help you to track or replace all non-ascii charater in text file.
🌐
GitHub
github.com › notepad-plus-plus › notepad-plus-plus › issues › 1727
Notepad++ fails to properly encode extended plane unicode characters · Issue #1727 · notepad-plus-plus/notepad-plus-plus
April 6, 2016 - I believe I'm getting the 'correct' behavior by opening the file under regular notepad, pasting in the text and saving. Upon opening that document in notepad++, i get the hex blocks xED``xA0``x80``xED``xBC``xB0, 6 bytes that i believe correspond correctly to U+10330
Author   notepad-plus-plus
🌐
Atlassian
datical-cs.atlassian.net › wiki › spaces › DDKB › pages › 1262878788 › How+To:+Find+Special+Characters+in+a+SQL+Script
How To: Find Special Characters in a SQL Script - Liquibase Enterprise Knowledge Base - Confluence
To find non UTF-8 in Notepad++ go to Encoding → Encode in UTF-8. The setting should highlight the special characters. ... In the screenshot above the xA0 represents non UTF-8 characters that will throw errors when the script is passed to sqlcmd, sqlplus, and other utilities.