unidecode

package module
v0.0.0-...-e9d2a0c Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

README

unidecode

Fork of rainycape’s Unicode transliterator in Golang - Replaces non-ASCII characters with their ASCII approximations.

go get github.com/nbio/unidecode

Documentation

Overview

Package unidecode implements a unicode transliterator which replaces non-ASCII characters with their ASCII 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-ASCII characters with their ASCII counterparts. Given an unicode encoded string, returns another string with non-ASCII characters replaced with their closest ASCII counterparts. e.g. Unicode("áéíóú") => "aeiou"

Types

This section is empty.

Jump to

Keyboard shortcuts

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