<commit_before>module Appsignal
  class EventFormatter
    module ActiveRecord
      class SqlFormatter < Appsignal::EventFormatter
        register 'sql.active_record'

        def format(payload)
          [
            payload[:name],
            Appsignal::Utils.encode_utf8(payload[:sql]),
            SQL_BODY_FORMAT
          ]
        end
      end
    end
  end
end<commit_msg>Remove utf8 encoding for sql payload<commit_after>module Appsignal
  class EventFormatter
    module ActiveRecord
      class SqlFormatter < Appsignal::EventFormatter
        register 'sql.active_record'

        def format(payload)
          [payload[:name], payload[:sql], SQL_BODY_FORMAT]
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.06555090655509066, 'fraction_numerical': 0.002789400278940028, 'mean_word_length': 2.3087557603686637, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2767018', 'n_tokens_mistral': 191, 'n_tokens_neox': 186, 'n_words': 46}