Community
    • Login

    what Encoding option to view an alternate data stream?

    Scheduled Pinned Locked Moved General Discussion
    text encodingalternate data stream
    3 Posts 3 Posters 190 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.
    • Jim WitherspoonJ
      Jim Witherspoon
      last edited by

      I’m trying to view the contents of an alternate data stream in Notepad++, but I haven’t figured out how to use the Encoding menu options to do so. I loaded the contents of the stream in another program - it recognized the encoding as “UTF-16 BE with BOM”. I saved the stream to a txt file. When I open it in Notepad++, and Notepad++ recognizes the encoding as “UTF-16 BE BOM”. But the text displays as follows:

      2024.09.14.16.43.24-DELL-XPS-8930-notepad++.jpg

      But if I activate the HEX-Editor plugin, the text becomes visible:

      2024.09.14.16.48.17-DELL-XPS-8930-notepad++.jpg

      My question is, just out of curiosity, is there an option I can select from the Encoding tab to show this text, without using the HEX-Editor? I have tried different options to do so but have not succeeded.

      Thanks for any help!

      1 Reply Last reply Reply Quote 1
      • CoisesC
        Coises
        last edited by

        Based on your hex editor capture, the text in the file appears to be 8-bit, not UTF-16, even though it does begin with a byte order mark. Try Encoding | ANSI.

        1 Reply Last reply Reply Quote 2
        • Alan KilbornA
          Alan Kilborn
          last edited by

          Lots of NUL characters…probably the hex dump is going to be the best you can get.

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