Skip to content

xuender/unidecode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Packages

No packages published

Languages