jisx0208

Determines if a character is included in jisx0208 with JIS0208.TXT


License
MIT
Install
gem install jisx0208 -v 0.1.0

Documentation

Jisx0208

JIS X 0208 is a collection of common characters used in Japanese writing, place names, and people's names. jisx0208 is a Ruby gem that provides a simple way to check if a string contains JIS X 0208 characters.

Installation

gem install jisx0208

Usage

require "jisx0208"

code = JISX0208::Code.new
code.contains_jisx0208_kanji?("亜") # => true
code.contains_jisx0208_kanji?("弌") # => true
code.contains_jisx0208_kanji?("亜X") # => true
code.contains_jisx0208_kanji?("弌X") # => true