How to auto-convert text (Umlaute) when changing file encoding from ANSI to UTF-8 BOM?
-
Assume I open a new, empty file with file encoding ANSI.
I type some german text which contains Umlaute like äöü
Later I decide to switch the file encoding to UTF-8 by clicking on menu
Encoding—>UTF-8 BOM
Yes, the file encoding is now UTF-8 BOM.
But the Umlaute äöü appear now as
xE4 xF6 xFC (with black background)How can I tell NP++ to automatically convert all Umlaute to the corresponding UTF-8 bytes when switching file encoding from ANSI to UTF-8?
If this is not possible automatically:
How can I mark the text and do it manually? -
Assume I open a new, empty file with file encoding ANSI.
I type some german text which contains Umlaute like äöü
Later I decide to switch the file encoding to UTF-8 by clicking on menu
Encoding—>UTF-8 BOM
Yes, the file encoding is now UTF-8 BOM.
But the Umlaute äöü appear now as
xE4 xF6 xFC (with black background)How can I tell NP++ to automatically convert all Umlaute to the corresponding UTF-8 bytes when switching file encoding from ANSI to UTF-8?
If this is not possible automatically:
How can I mark the text and do it manually?Use the bottom section of the Encoding menu, e.g, Convert to UTF-8-BOM, when you want to convert.
There are usually only two times you should use the top section:
-
when you have a completely empty new file and you want to change from the default encoding to something else before you start adding text;
-
when you have just opened a file and the encoding Notepad++ determined it to be is wrong, so you want to change it and have Notepad++ reread the file as a different encoding.
-
-
funzt. Danke
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login