Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶ added in v1.1.23
Decode decodes the passed in bytes as GSM7 encodings. Each byte is expected to be a single 7 bit GSM7 character.
func Encode ¶ added in v1.1.23
Encode encodes the given UTF-8 text into a string composed of GSM7 bytes. Each 7 bit GSM7 char is encoded in a single byte
func IsValid ¶ added in v1.1.23
IsValid returns whether the passed in string is made up of entirely GSM7 characters
func ReplaceSubstitutions ¶ added in v1.1.23
ReplaceSubstitutions replaces all the non-GSM7 characters that have valid substitutions with their GSM7 versions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.