How to display a UTF8 encoded text file as a hex dump but with the characters in the right column
3
votes
0
answers
63
views
This is the sample.txt Greek in UTF8:
ανθρώπους.
Από
ανθρώπους.
Από
When I run the command below I get the hex output but not the corresponding characters in the right column but instead I see .........
$ xxd -l 120 -c 12 sample.txt
00000000: ceb1 cebd ceb8 cf81 cf8e cf80 ............
0000000c: cebf cf85 cf82 2e0a ce91 cf80 ............
00000018: cf8c 0ace b1ce bdce b8cf 81cf ............
00000024: 8ecf 80ce bfcf 85cf 822e 0ace ............
00000030: 91cf 80cf 8c0a
I m looking for a way to show the actual characters as well.
Asked by user603749
(131 rep)
Mar 26, 2025, 06:29 PM
Last activity: Mar 26, 2025, 08:10 PM
Last activity: Mar 26, 2025, 08:10 PM