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
Ange
  • 6,694
  • 3
  • 28
  • 62
Avery3R
  • 1,258
  • 1
  • 12
  • 31

2 Answers2

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.

Rolf Rolles
  • 9,198
  • 1
  • 23
  • 33
5

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

ekse
  • 2,208
  • 13
  • 19