Description Usage Arguments Details Value Author(s) See Also Examples
Sanitizing strings unintensionally contaminated with fullwidth (zenkaku) charactors by converting characters from fullwidth (zenkaku) to halfwidth (hankaku) forms.
1 |
s |
A character vector. UTF-8 encoding is preferable. |
Occasionally a character vector is unintentionally contaminated with fullwidth (zenkaku)
characters. sanitizeZenkaku
remove Japanese fullwidth (zenkaku) alphabets,
numbers, and symbols from the given character vector in order to make
logical and factor vectors work properly. The alphabets,
numbers, and symbols are substitute for halfwidth forms (aka. ASCII),
while a fullwidth space is simply removed.
A character vector. All alphabets, numbers, and symbols have their halfwidth from.
Susumu Tanimura aruminat@gmail.com
1 2 | (n <- intToUtf8(c(65296 + 1:3, 12288)))
sanitizeZenkaku(n)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.