Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
Jul 14, 2014
May 24, 2013
Jul 9, 2015
May 28, 2014

Unidecode

Build Status Maven Central

ASCII transliterations of Unicode string for Java.

How to Use

Edit pom.xml.

<dependency>
	<groupId>me.xuender</groupId>
	<artifactId>unidecode</artifactId>
	<version>0.0.7</version>
</dependency>

decode

System.out.print(Unidecode.decode("南无阿弥陀佛"));
Nan Wu A Mi Tuo Fo

System.out.print(Unidecode.decode("一条会走路的鱼"));
Yi Tiao Hui Zou Lu De Yu

System.out.print(Unidecode.decode("あみだにょらい"));
amidaniyorai

initials

System.out.print(Unidecode.initials("南无阿弥陀佛"));
NWAMTF

System.out.println(Unidecode.initials("不怨人就是成佛的大道根"));
BYRJSCFDDDG

System.out.print(Unidecode.initials("Κνωσός"));
K

Reference

Unidecode for Python

Thanks

About

ASCII transliterations of Unicode text for Java

Resources

License

Packages

No packages published

Languages