12

In IDA 5.0 Freeware how do you convert a block of data into a unicode string, the only thing I can find is to convert it into an ascii string.

db 'a'
db 0
db 'b'
db 0
db 'c'
db 0
db 'd'
db 0
db 0
db 0

into

unicode <abcd>, 0
  • if you get a long sequence of this type means executable need unpacking.. – Grijesh Chauhan Apr 12 '13 at 18:53
21

Press Alt-A to bring up the "string style" dialog, from which you can create a string of various types (including Unicode). Through this dialog, you can optionally set the default string type that is created when you press a (i.e., you can make it such that Unicode is the default if you want).

Alternatively use Alt+A U as pointed out by joxeankoret in the comment.

| improve this answer | |
  • 2
    I really like shortcuts: Alt-A+U (it's the same). – joxeankoret Apr 14 '13 at 15:21
5

Select the first byte, Edit -> Strings -> Unicode.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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