unidecode

package
v2.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2015 License: Apache-2.0, Apache-2.0 Imports: 9 Imported by: 0

README

unidecode

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

Please, use the following import path to ensure a stable API:

    import "gopkgs.com/unidecode.v1"

View other available versions, documentation and examples at http://gopkgs.com/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