https://github.com/t-matsuo/dump-utf8-strings
create hex dump from utf-8 text file with multibytes char
https://github.com/t-matsuo/dump-utf8-strings
Last synced: about 2 months ago
JSON representation
create hex dump from utf-8 text file with multibytes char
- Host: GitHub
- URL: https://github.com/t-matsuo/dump-utf8-strings
- Owner: t-matsuo
- Created: 2020-03-28T12:25:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-28T12:37:41.000Z (over 5 years ago)
- Last Synced: 2023-03-12T00:56:04.215Z (over 2 years ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dump-utf8-strings
create hex dump from utf-8 text file with multibytes char# Install
```
# wget https://github.com/t-matsuo/dump-utf8-strings/releases/download/0.1/dump-utf8-strings
# chmod 755 dump-utf8-strings
```# Usage
```
# cat textfile
abcdあいうえお
efghかきくけこ# ./dump-utf8-strings textfile
61 a
62 b
63 c
64 d
e3 [3>]
81 [->]
82 あ
e3 [3>]
81 [->]
84 い
e3 [3>]
81 [->]
86 う
e3 [3>]
81 [->]
88 え
e3 [3>]
81 [->]
8a お
0a [LF] (^J)
65 e
66 f
67 g
68 h
e3 [3>]
81 [->]
8b か
e3 [3>]
81 [->]
8d き
e3 [3>]
81 [->]
8f く
e3 [3>]
81 [->]
91 け
e3 [3>]
81 [->]
93 こ
0a [LF] (^J)
```