Categorygithub.com/chihiros/ccc
repositorypackage
0.0.5
Repository: https://github.com/chihiros/ccc.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

ccc (change-character-code)

It is a library for changing the character code of the string.

Support Character Code

The Encoding

Character CodeSupportedSample
UTF-8ccc.Encode(string).UTF8

Legacy single-byte encodings

Character CodeSupportedSample
IBM866
ISO-8859-2
ISO-8859-3
ISO-8859-4
ISO-8859-5
ISO-8859-6
ISO-8859-7
ISO-8859-8
ISO-8859-8-I
ISO-8859-10
ISO-8859-13
ISO-8859-14
ISO-8859-15
ISO-8859-16
KOI8-R
KOI8-U
macintosh
windows-874
windows-1250
windows-1251
windows-1252
windows-1253
windows-1254
windows-1255
windows-1256
windows-1257
windows-1258
x-mac-cyrillic

Legacy multi-byte Chinese (simplified) encodings

Character CodeSupportedSample
GBKccc.Encode(string).GBK()
gb18030ccc.Encode(string).GB18030()

Legacy multi-byte Chinese (traditional) encodings

Character CodeSupportedSample
Big5ccc.Encode(string).Big5()

Legacy multi-byte Japanese encodings

Character CodeSupportedSample
EUC-JPccc.Encode(string).EUC_JP()
ISO-2022-JPccc.Encode(string).ISO_2022_JP()
Shift_JISccc.Encode(string).ShiftJIS()

Legacy multi-byte Korean encodings

Character CodeSupportedSample
EUC-KRccc.Encode(string).EUC_KR()

Legacy miscellaneous encodings

Character CodeSupportedSample
replacement
UTF-16BE
UTF-16LE
x-user-defined

License

MIT

Author

Chihiro Suzurikawa (chihiros)