Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to duplicate some binary data (not in code, but by hand). The normal Ctrl+C 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.

1  
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

up vote 7 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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.