# File ext/nkf/lib/kconv.rb, line 192 def isutf8(str) str.dup.force_encoding(UTF8).valid_encoding? end