method

utf8_pragma?

rails latest stable - Class: ActiveSupport::Multibyte::Chars

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.1.0) is shown here.

utf8_pragma?()
private

utf8_pragma checks if it can send this string to the handlers. It makes sure @string isn’t nil and $KCODE is set to ‘UTF8’.