Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Java 中是否有任何实用程序可用于在 Hankaku 字符和 Zenkaku 字符之间进行转换,即日文半角假名和全角假名?或者是否有可以为此实施的算法或方法?
ICU4J图书馆有它们。
Transliterator tr = Transliterator.getInstance("Halfwidth-Fullwidth"); String converted = tr.transliterate("アイウエオ");