Crates.io | enc-check |
lib.rs | enc-check |
version | 0.2.1 |
source | src |
created_at | 2023-10-07 18:10:58.691315 |
updated_at | 2025-01-05 13:13:40.507101 |
description | A tool to inspect utf-8 and utf-16 character encodings |
homepage | https://github.com/cool-mist/enc |
repository | https://github.com/cool-mist/enc |
max_upload_size | |
id | 996529 |
size | 61,665 |
cargo install enc-check
Inspect character encodings.
$ enc-check --help
CLI Tool to inspect utf-8 and utf-16 strings
Positional Arguments:
name the string to inspect
Options:
-6, --utf16 use utf-16 encoding instead of utf-8
-j, --json output as json instead of table
--help, help display usage information
enc-check asdᚢ𐌰
┌───────┬───────┬───────────┬──────┬─────┬─────┬──────────┐
│ U+dec │ U+hex │ character │ byte │ hex │ dec │ bin │
├───────┼───────┼───────────┼──────┼─────┼─────┼──────────┤
│ 97 │ 61 │ a │ 0 │ 61 │ 97 │ 01100001 │
│ 115 │ 73 │ s │ 1 │ 73 │ 115 │ 01110011 │
│ 100 │ 64 │ d │ 2 │ 64 │ 100 │ 01100100 │
│ 5794 │ 16a2 │ ᚢ │ 3 │ e1 │ 225 │ 11100001 │
│ │ │ │ 4 │ 9a │ 154 │ 10011010 │
│ │ │ │ 5 │ a2 │ 162 │ 10100010 │
│ 66352 │ 10330 │ 𐌰 │ 6 │ f0 │ 240 │ 11110000 │
│ │ │ │ 7 │ 90 │ 144 │ 10010000 │
│ │ │ │ 8 │ 8c │ 140 │ 10001100 │
│ │ │ │ 9 │ b0 │ 176 │ 10110000 │
└───────┴───────┴───────────┴──────┴─────┴─────┴──────────┘
learn/slides.md
. Run it using maaslalani/slides.