class Honeybadger::Util::SQL

def self.force_utf_8(string)

Experimental RBS support (using type sampling data from the type_fusion project).

def self.force_utf_8: (String string) -> String

This signature was generated using 116 samples from 1 application.

def self.force_utf_8(string)
  string.encode(
    Encoding.find('UTF-8'),
    invalid: :replace, 
    undef: :replace, 
    replace: ''
  )
end