isEncodableAsKanji

Tests whether the specified string can be encoded as a segment in kanji mode. Broadly speaking, the set of encodable characters are {kanji used in Japan, hiragana, katakana, East Asian punctuation, full-width ASCII, Greek, Cyrillic}. Examples of non-encodable characters include {ordinary ASCII, half-width katakana, more extensive Chinese hanzi}.

Return

true iff each character is in the kanji mode character set

Parameters

text

the string to test for encodability (not null)

See also

.makeKanji

Throws

if the string is null