= private = protected
iseuc(str)
Returns whether input encoding is EUC-JP or not.
Note don’t expect this return value is MatchData.
# File ext/nkf/lib/kconv.rb, line 156 def iseuc(str) str.dup.force_encoding(EUC).valid_encoding? end