blob: 259bb3ae1f91fa375a70c0aba84ef6ac8c3222d2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
wtf8
====
Tiny utility for interactive use to inspect the bytes of UTF-8 strings in line
with the characters. Expects a single argument, a string.
$ LANG=C.UTF-8
$ export LANG
$ make
$ sudo make install
$ wtf8 'test'
74 65 73 74
t e s t
$ wtf8 'tøást'
74 c3-b8 c3-a1 73 74
t ø á s t
Dependencies
------------
None as far as I can tell apart from libc, but I've only tested it on GNU/Linux
with glibc.
Author
------
Tom Ryder <tom@sanctum.geek.nz>
License
-------
MIT (see LICENSE)
|