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