= private = protected
issjis(str)
Returns whether input encoding is Shift_JIS or not.
# File ext/nkf/lib/kconv.rb, line 164 def issjis(str) str.dup.force_encoding(SJIS).valid_encoding? end