ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

1067_changeset_repo_log_encoding.patch

Steffen Schüssler, 2012-07-06 08:44 pm

Download (472 Bytes)

 
app/models/changeset.rb 2012-07-06 20:15:14.000000000 +0200
89 89
  # Attribute reader for committer that encodes the committer string to
90 90
  # the repository log encoding (e.g. UTF-8)
91 91
  def committer
92
    self.class.to_utf8(read_attribute(:committer), repository.repo_log_encoding)
92
    self.class.to_utf8(read_attribute(:committer), repository_encoding)
93 93
  end
94 94

  
95 95
  def before_create