unidecode

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

README

unidecode

Unicode transliterator in Golang - Replaces non-GSM characters with their GSM approximations.

References:

Note: this transliterator does not include characters in the GSM extension table. NBSP is displayed as a space character.

Documentation

Overview

Package unidecode implements a unicode transliterator which replaces non-GSM characters with their GSM approximations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unidecode

func Unidecode(s string) string

Unidecode implements a unicode transliterator, which replaces non-GSM characters with their GSM counterparts. Given an unicode encoded string, returns another string with non-ASCII characters replaced with their closest GSM counterparts. e.g. Unidecode("áéíóú") => "aéiou"

Types

This section is empty.

Jump to

Keyboard shortcuts

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