Perl, 33>33 31 bytes
Includes +5+3 for -F//
(cannot be combined with -e
and the code has '
too, so space and -
are counted too).
Run with the input on STDIN or give one or more filenames as argument
perl -M5.010 asciidump.pl <<< "Hoi"
asciidump.pl
#!/usr/bin/perl -F//
$"=v9;say"@F@{[unpack'W*']}"
Output is not aesthetic if the text contains a tab or there is no final newline