method

ascii_compatible?

Importance_1
ascii_compatible?() public

Returns whether ASCII-compatible or not.

Encoding::UTF_8.ascii_compatible?     #=> true
Encoding::UTF_16BE.ascii_compatible?  #=> false
Show source
Register or log in to add new notes.