Community
    • Login

    find in Files = wrong endcodet result

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 245 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.
    • Hugo KnausH
      Hugo Knaus
      last edited by

      example:
      Search “Gnade” (1 hit in 1 file)
      D:\Test-1\3196_PS.txt (1 hit)
      Line 27: � � der dein Leben aus der Grube erl�st, der dich kr�nt mit Gnade und Barmherzigkeit; der deine Seele mit Gutem s�ttiget, da� du wieder jung wirst wie ein Adler.� (Vers 4-5)

      All changes in “New Dokument/Encoding”
      or in “Misc./Autodetect character encoding” didnt help.

      thanks for your help.

      1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones
        last edited by

        Sometimes, it’s best to turn off autodetect of the character encoding, and then manually set the correct encoding through the Encoding > Character Sets menu. There is no 100%-accurate encoding-detection method, because those “encodings” are all 8bit encodings, and so are technically using the same 8bit values (bytes) to indicate different characters; there are some hints that will emphasize certain bytes happen with greater or lesser frequency, which is how encoding auto-detect works; but there is no way to be 100% sure of which of those encodings are used without embedded metadata.

        (Or always edit files that use a full-unicode-compatible encoding, such as UTF8 or UTF-16/UCS2 – but of course, your data isn’t in that format; though you could use iconv or similar tool; if you search the forum for “iconv”, you will see some example usages of it)

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