Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class method

Kconv.toutf8

Kconv.toutf8(str) => string

Convert str to UTF-8

See also #toutf8 .toutf32 #guess .toutf16 also in 3.3 · 3.2 · 3.1