https://github.com/buganini/bsdconv-cns11643
Bsdconv modules derived from CNS11643
https://github.com/buganini/bsdconv-cns11643
Last synced: about 1 year ago
JSON representation
Bsdconv modules derived from CNS11643
- Host: GitHub
- URL: https://github.com/buganini/bsdconv-cns11643
- Owner: buganini
- Created: 2017-10-15T16:19:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-02-26T16:16:03.000Z (over 5 years ago)
- Last Synced: 2025-05-15T23:12:38.992Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 7.18 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
* from/_CNS11643
```
$ printf "1234\x00\x01\x60\x41\x00\x01\x66\x5cabcd" | bsdconv cns11643:utf-8
1234測試abcd
```
* inter/CHEWING
```
$ printf "測試" | bsdconv utf-8:chewing:utf-8
ㄘㄜˋㄕˋ
```
* inter/CNS11643
```
$ printf "測" | bsdconv utf-8:bsdconv-output
016E2C ( FREE ) # Unicode
$ printf "測" | bsdconv utf-8:cns11643:bsdconv-output
02016041 # CNS11643
```
* inter/CNS11643-UNICODE
```
$ printf 02016041 | bsdconv bsdconv:bsdconv-output
02016041 # CNS11643
$ printf 02016041 | bsdconv bsdconv:unicode:bsdconv-output # `unicode` is an auto alias
016E2C # Unicode
```
* inter/CNS11643-UNICODE-PUA
```
$ printf 02097459 | bsdconv bsdconv:unicode:bsdconv-output
02097459
$ printf 02097459 | bsdconv bsdconv:unicode:cns11643-unicode-pua:bsdconv-output
010FFBA9
```
* inter/HAN-PINYIN
```
$ printf "測試" | bsdconv utf-8:chewing:han-pinyin:utf-8
ce4shi4
```
* inter/ZH-COMP
* inter/ZH-DECOMP
```
$ printf "功夫不好不要艹我" | bsdconv utf-8:zh-decomp:zh-comp:utf-8
巭孬嫑莪
```
* to/_CNS11643
```
$ printf 測試 | bsdconv utf-8:cns11643 | xxd -p
000160410001665c
```
* to/ASCII-HTML-CNS11643-IMG
```
$ printf 測 | bsdconv utf-8:ASCII-HTML-CNS11643-IMG
```