@hellena-crainicu
This forum is for Notepad++ questions. Your question has nothing to do with Notepad++: the answer will be the same whether you are using Notepad++, MS notepad.exe, or copy con. If you think “I am typing this with Notepad++, so it should be on topic,” then you haven’t read our FAQ which explains why that is a false interpretation, using the example of baking cookies.
But I’ll give you a hint: on my machine, that HTML doesn’t display with bold characters:bec266e6-2703-494b-8566-8b69172090c7-image.png.
(My guess is that it’s a font issue on your PC.)
Further, the snippet you showed has no characters outside of the ASCII range, so it doesn’t matter whether you have set charset="iso-8859-1" or charset="utf-8". If you do understand why having no characters outside of the ASCII range necessarily implies the “so…” part of my previous sentence, you need to go find a better tutorial on character encodings and HTML, because you obviously don’t understand the technology you are working with sufficiently. If you still don’t understand, you will have to find a forum that’s about HTML and web formatting, not one for a particular editor, and ask there. The Notepad++ Community Forum is not the right place for further discussion on this.
You can even use Notepad++ to prove to yourself that it doesn’t matter which charset you pick, given the data you showed:
FIND = [^\x20-\x7e\r\n] – this will find any character that is not between ASCII 32 (0x20) and ASCII 126 (0x7E), or not a CR or LF newline character.
COUNT
In your snippet, it finds 0 characters outside of that range. That means there is nothing in that snippet which is not ASCII, and thus nothing that will be different between ISO-8859-1 and UTF-8.
9427fef9-7617-4935-8594-aad16725f4a4-image.png
OTOH, if I add the characters ÀÁÅËË and do the COUNT again, it now counts 5 matches in the file, for those five characters.
00008f65-c2ff-45c9-bfa9-8afb14c07f06-image.png