Community
    • Login

    Notepad++ is guessing the wrong ANSI character set for certain texts

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 3.3k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Per SidenP Offline
      Per Siden
      last edited by

      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?

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @Per Siden
        last edited by

        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

        1 Reply Last reply Reply Quote 0

        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
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors