Notepad++ is guessing the wrong ANSI character set for certain texts
-
Examples where standard ANSI, Windows-1252 or ISO-LATIN-1 would have been the logical choice, but where Notepad++ assumes something else instead:
- “Hier ist ein Beispiel auf Deutsch mit üäö.” – Windows-1255 (Hebrew)
- “En svensk text med åäö.” – Windows-1251 (Cyrillic)
- “En svensk text med éåäö.” – Windows-1255 (Hebrew)
The same texts in UPPER CASE works just fine:
- “Hier ist ein Beispiel auf Deutsch mit ÜÄÖ.”
- “En svensk text med ÅÄÖ.”
- “En svensk text med ÉÅÄÖ.”
Is there any way to force Notepad++ not to try to guess the ANSI character set but use the system default or a specified character set?
-
Hello Per-Siden,
I guess I have a more or less good workaround.
Uncheck Autodetect character encoding from Settings->Preferences->MISC.
In Settings->Preferences->New Document select the Encoding you want by using the dropdown list.
If you use the session functionality Settings->Preferences->Backup take care that you close
any document with different encoding before restarting npp, otherwise it will load the codepage
from the information within then session files.Cheers
Claudia
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