• Login
Community
  • Login

Bug: Click on "Encode in UTF-8 does not work"

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 1.9k Views
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.
  • B
    Ben S.
    last edited by Jan 12, 2019, 8:33 AM

    On my Android device I exported a chat into a text file, then transferred this text file to my Win7 system and opened it in Notepad++ v7.6.2
    NP++ detected the content as ISO-8859-1

    Unfortunately some special chars like german Umlaute are not displayed correctly.

    So according to a previous recommendation I clicked on menu

    Encoding–>Encode in UTF-8
    resp.
    Encoding–>Encode in UTF-8 BOM

    This worked in the past resp. for other .txt files.

    Surprisingly it does not work for a certain .txt file here.

    Something flashes in NP++ for some milliseconds but nothing changed.
    In the status bar at the bottom still ISO-8859-1 is shown as format.

    Hmm, NP++ seems to reject new interpretation format.
    I guess its a bug.

    Can someone verify this?
    Thank you
    Ben

    M 1 Reply Last reply Jan 12, 2019, 10:46 AM Reply Quote 0
    • M
      Meta Chuh moderator @Ben S.
      last edited by Meta Chuh Jan 12, 2019, 10:48 AM Jan 12, 2019, 10:46 AM

      @Ben-S.

      at the moment you will, unfortunately, have to go to: settings > preferences > misc., and disable “autodetect character encoding” to be able to change certain files, from any encoding which is marked with a bullet in the encoding section “character sets” (weitere) to utf-8 or ansi.
      the encoding type will jump back to what it was if autodetect stays enabled.

      there are some bugs in autodetect character encoding since this commit

      i’ve filed an issue here for french, after this thread

      feel free to add any of your findings to issue 5202 and/or create a new issue for german or the “encoding bullet jumps back” issue if you like.

      note: i think it is not because of any german characters in your case, but because of smileys or other special characters, you could confirm that by using short sections of your text file, pasted to a new text file, which you then close and reopen, to (slowly/patiently) find the triggering characters and sequences

      1 Reply Last reply Reply Quote 2
      • B
        Ben S.
        last edited by Jan 15, 2019, 6:21 AM

        @Meta-Chuh:

        Thank you. Disabling let it work now :-)

        I hope that this bug will be fixed in the next release.
        Ben

        1 Reply Last reply Reply Quote 2
        1 out of 3
        • First post
          1/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors