https://github.com/xissy/icu
Detect whatsoever charset
https://github.com/xissy/icu
Last synced: about 1 year ago
JSON representation
Detect whatsoever charset
- Host: GitHub
- URL: https://github.com/xissy/icu
- Owner: xissy
- Created: 2016-01-26T06:07:24.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-26T20:23:29.000Z (over 10 years ago)
- Last Synced: 2025-02-07T18:53:52.719Z (over 1 year ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# icu
> Detect whatsoever charset.
```
usage: icu [] []
Detect whatsoever charset
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
-b, --buffer=100000 Buffer size of the file.
-t, --text Enable text more, default is HTML mode.
--version Show application version.
Args:
[] Input file name, or you can use pipe or redirection.
```
## with iconv
```
iconv -f $(icu a.smi) -t utf8 a.smi > a_utf8.smi
```