Function kana::half2full [] [src]

pub fn half2full(s: &str) -> String

Convert Half-width-kana into normal Katakana with diacritical marks separated [ア゙パ -> ア゙パ]

This method is simple, but tends to cause troubles when rendering. In such a case, use half2kana() or execute vsmark2{half|full|combi}() as a post process.

Examples

assert_eq!("マツオ バショウ ア゚", kana::half2full("マツオ バショウ ア゚"));