GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — unidecode/README.md at master · xuender/unidecode

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
49 lines (36 loc) · 1.19 KB
/

README.md

Copy path

File metadata and controls

49 lines (36 loc) · 1.19 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

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

  • 魏敬宁(cratylus)
  • Marco Schweighauser(Schweigi)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.