Tool to convert a file of HEX to ASCII character set?
Posted
by
Aaron
on Super User
See other posts from Super User
or by Aaron
Published on 2011-02-10T13:31:29Z
Indexed on
2011/02/10
15:27 UTC
Read the original article
Hit count: 284
Question:
- Is there a known tool to convert a file consisting of 2 byte Hex into ascii?
Note: - Maintain file offset listing in bytes
Example:
File contents:
00000000 0054 0065 0073 0074 0020 0054 0065 0073
00000008 0074 0020 0054 0065 0073 0074 0020 0054
00000016 0065 0073 0074 0020 0054 0065 0073 0074
00000024 0020 0054 0065 0073 0074 0020 0054 0065
00000032 0073 0074 0020 0054 0065 0073 0074 0020
00000040 0054 0065 0073 0074 000a 0054 0065 0073
00000048 0074 0020 0054 0065 0073 0074 0020 0054
00000056 0065 0073 0074 0020 0054 0065 0073 0074
00000064 0020 0054 0065 0073 0074 0020 0054 0065
Expected output
00000016 0065 0073 0074 0020 0054 0065 0073 0074 |est Test Test Te|
00000032 0073 0074 0020 0054 0065 0073 0074 0020 |st Test Test.Tes|
00000048 0074 0020 0054 0065 0073 0074 0020 0054 |t Test Test Test|
00000064 0020 0054 0065 0073 0074 0020 0054 0065 | Test Test Test |
© Super User or respective owner