ic

package
v0.0.0-...-878e95a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package ic convert text between CJK and UTF-8 in pure Go way

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(from string, to string, src []byte) []byte

Convert convert bytes from CJK or UTF-8 to UTF-8 or CJK

func ConvertString

func ConvertString(from string, to string, src string) string

ConvertString convert string from CJK or UTF-8 to UTF-8 or CJK

func FromUTF8

func FromUTF8(to string, s []byte) ([]byte, error)

FromUTF8 convert from UTF-8 encoding to CJK encoding

func ToUTF8

func ToUTF8(from string, s []byte) ([]byte, error)

ToUTF8 convert from CJK encoding to UTF-8

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL