How can I copy binary data in Windows (preferably with Notepad++)?











up vote
13
down vote

favorite
3












I want to duplicate some binary data. The normal Ctrl+C command doesn't work in my editor (Notepad++), it copies data only up to the first NUL char. Is there any workaround?










share|improve this question















migrated from stackoverflow.com Oct 22 '11 at 10:05


This question came from our site for professional and enthusiast programmers.











  • 2




    The way data is stored in the clipboard depends on how the application is using the clipboard API. Notepad++ is a text editor, so it probably stores content as text. If you view the content in some hex editor, it'll probably let you copy it using one of the other standard types (and possibly other registered types). To get a full answer, you'd better provide more details, like the source of the binary data and the target.
    – eran
    Oct 20 '11 at 21:31















up vote
13
down vote

favorite
3












I want to duplicate some binary data. The normal Ctrl+C command doesn't work in my editor (Notepad++), it copies data only up to the first NUL char. Is there any workaround?










share|improve this question















migrated from stackoverflow.com Oct 22 '11 at 10:05


This question came from our site for professional and enthusiast programmers.











  • 2




    The way data is stored in the clipboard depends on how the application is using the clipboard API. Notepad++ is a text editor, so it probably stores content as text. If you view the content in some hex editor, it'll probably let you copy it using one of the other standard types (and possibly other registered types). To get a full answer, you'd better provide more details, like the source of the binary data and the target.
    – eran
    Oct 20 '11 at 21:31













up vote
13
down vote

favorite
3









up vote
13
down vote

favorite
3






3





I want to duplicate some binary data. The normal Ctrl+C command doesn't work in my editor (Notepad++), it copies data only up to the first NUL char. Is there any workaround?










share|improve this question















I want to duplicate some binary data. The normal Ctrl+C command doesn't work in my editor (Notepad++), it copies data only up to the first NUL char. Is there any workaround?







windows notepad++ clipboard






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 28 at 23:37

























asked Oct 20 '11 at 17:25









Felix Dombek

92161444




92161444




migrated from stackoverflow.com Oct 22 '11 at 10:05


This question came from our site for professional and enthusiast programmers.






migrated from stackoverflow.com Oct 22 '11 at 10:05


This question came from our site for professional and enthusiast programmers.










  • 2




    The way data is stored in the clipboard depends on how the application is using the clipboard API. Notepad++ is a text editor, so it probably stores content as text. If you view the content in some hex editor, it'll probably let you copy it using one of the other standard types (and possibly other registered types). To get a full answer, you'd better provide more details, like the source of the binary data and the target.
    – eran
    Oct 20 '11 at 21:31














  • 2




    The way data is stored in the clipboard depends on how the application is using the clipboard API. Notepad++ is a text editor, so it probably stores content as text. If you view the content in some hex editor, it'll probably let you copy it using one of the other standard types (and possibly other registered types). To get a full answer, you'd better provide more details, like the source of the binary data and the target.
    – eran
    Oct 20 '11 at 21:31








2




2




The way data is stored in the clipboard depends on how the application is using the clipboard API. Notepad++ is a text editor, so it probably stores content as text. If you view the content in some hex editor, it'll probably let you copy it using one of the other standard types (and possibly other registered types). To get a full answer, you'd better provide more details, like the source of the binary data and the target.
– eran
Oct 20 '11 at 21:31




The way data is stored in the clipboard depends on how the application is using the clipboard API. Notepad++ is a text editor, so it probably stores content as text. If you view the content in some hex editor, it'll probably let you copy it using one of the other standard types (and possibly other registered types). To get a full answer, you'd better provide more details, like the source of the binary data and the target.
– eran
Oct 20 '11 at 21:31










1 Answer
1






active

oldest

votes

















up vote
16
down vote



accepted










In the Edit menu of Notepad++ (I'm using v5.9.2) under Paste Special there are actions to Copy, Cut, and Paste Binary Content.



Submenu of Paste Special in Edit menu of Notepad++






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f349345%2fhow-can-i-copy-binary-data-in-windows-preferably-with-notepad%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    16
    down vote



    accepted










    In the Edit menu of Notepad++ (I'm using v5.9.2) under Paste Special there are actions to Copy, Cut, and Paste Binary Content.



    Submenu of Paste Special in Edit menu of Notepad++






    share|improve this answer



























      up vote
      16
      down vote



      accepted










      In the Edit menu of Notepad++ (I'm using v5.9.2) under Paste Special there are actions to Copy, Cut, and Paste Binary Content.



      Submenu of Paste Special in Edit menu of Notepad++






      share|improve this answer

























        up vote
        16
        down vote



        accepted







        up vote
        16
        down vote



        accepted






        In the Edit menu of Notepad++ (I'm using v5.9.2) under Paste Special there are actions to Copy, Cut, and Paste Binary Content.



        Submenu of Paste Special in Edit menu of Notepad++






        share|improve this answer














        In the Edit menu of Notepad++ (I'm using v5.9.2) under Paste Special there are actions to Copy, Cut, and Paste Binary Content.



        Submenu of Paste Special in Edit menu of Notepad++







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Oct 22 '11 at 10:23

























        answered Oct 22 '11 at 10:09









        JustinStolle

        7901720




        7901720






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f349345%2fhow-can-i-copy-binary-data-in-windows-preferably-with-notepad%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Plaza Victoria

            In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

            How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...