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 669 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.
    • Jim WitherspoonJ Offline
      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 Offline
        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 Offline
          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

          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