Skip to content

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

class method

Kconv.isutf8

Kconv.isutf8(str) => true or false

Returns whether input encoding is UTF-8 or not.

See also #isutf8 .issjis .kconv .isjis also in 3.3 · 3.1 · 3.0