mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* enc/shift_jis.c (code_is_ctype): HALF WIDTH KATAKANA is
a character. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0ef21e44e7
commit
5b7dfb7c13
2 changed files with 6 additions and 1 deletions
|
@ -313,7 +313,7 @@ is_code_ctype(OnigCodePoint code, unsigned int ctype, OnigEncoding enc)
|
|||
return ONIGENC_IS_ASCII_CODE_CTYPE(code, ctype);
|
||||
else {
|
||||
if (CTYPE_IS_WORD_GRAPH_PRINT(ctype)) {
|
||||
return (code_to_mbclen(code, enc) > 1 ? TRUE : FALSE);
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue