ASCII transliterations of Unicode text for go lang.
go get github.com/xuender/godecode2
import (
"fmt"
gd "github.com/xuender/godecode2"
)
fmt.Println(gd.Decode("南无阿弥陀佛"))
Nan Wu A Mi Tuo Fo
fmt.Println(gd.Decode("一条会走路的鱼"));
Yi Tiao Hui Zou Lu De Yu
fmt.Println(gd.Decode("あみだにょらい"));
amidaniyorai
fmt.Println(gd.Initials("南无阿弥陀佛"));
NWAMTF
fmt.Println(gd.Initials("不怨人就是成佛的大道根"));
BYRJSCFDDDG
fmt.Println(gd.Initials("Κνωσός"));
K