ic

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: LGPL-2.1 Imports: 11 Imported by: 1

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