Community
    • Login

    Problem with UTF files with polish characters

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 2.1k Views 1 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.
    • Adro RA Offline
      Adro R
      last edited by

      Notepad++ 7.6.2

      Scenario like this:

      Create new file:
      write: DĄBB
      save as UTF, open, everything OK

      Create new file:
      write: DĄBBB
      save as UTF,
      open
      file open as “Windows-1252” and presents “DÄ„BBB” and I can’t change codding into UTF

      switch: “Coding in UTF without BOM” do nothing

      But if I remove last “B” and save “DÄ„BB”
      and open again file:
      file open in UTF and presents : “DĄBB”

      can someone help me ???

      Meta ChuhM 1 Reply Last reply Reply Quote 1
      • Meta ChuhM Offline
        Meta Chuh moderator @Adro R
        last edited by Meta Chuh

        welcome to the notepad++ community, @Adro-R

        unfortunately autodetect character encoding is broken since notepad++ version 7.6. and above.

        currently it is necessary to:

        • go to settings > preferences > misc and disable auto detect character encoding as seen at the screenshot below.

        settings - auto detect character encoding

        • then go to settings > preferences > new document and set your preferred default encoding to e.g utf-8, as seen at the screenshot below.

        Imgur

        after that repeat your testing, it will work now.

        note: a solving regression rollback fix for that issue has finally been commited and pushed to the pull requests, but it has currently been suspended by @donho for yet unknown reasons.

        1 Reply Last reply Reply Quote 4
        • Adro RA Offline
          Adro R
          last edited by

          thanks,
          this solves my problem and the file now loads correctly

          1 Reply Last reply Reply Quote 1

          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