Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Kconv.toutf16
Kconv.toutf16(str) => string
ext/nkf/lib/kconv.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/ext/nkf/lib/kconv.rb, line 110
def toutf16(str)
kconv(str, UTF16)
end
Convert str to UTF-16