13

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
1
  • if you get a long sequence of this type means executable need unpacking.. Commented Apr 12, 2013 at 18:53

2 Answers 2

23

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.

1
  • 2
    I really like shortcuts: Alt-A+U (it's the same). Commented Apr 14, 2013 at 15:21
5

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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