Project

General

Profile

Defect #38100 ยป 38100.patch

Go MAEDA, 2022-12-24 09:32

View differences:

app/models/changeset.rb
296 296
  class << self
297 297
    # Strips and reencodes a commit log before insertion into the database
298 298
    def normalize_comments(str, encoding)
299
      Changeset.to_utf8(str.to_s.strip, encoding)
299
      Changeset.to_utf8(str.to_s, encoding).strip
300 300
    end
301 301
    def to_utf8(str, encoding)
    (1-1/1)