diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2012-05-27 06:19:27 +0400 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2012-05-27 06:19:37 +0400 |
commit | 11f90ae42eeca1c9bcc415d046663efef0941bf0 (patch) | |
tree | 5e68b5a9af4223a1bd7aa351fce5f48f8938752a /lib | |
parent | 50c2c16a4d8ca52c4abcbef638f5105a9b0d1ee0 (diff) |
Forgot to refactor a line on lib/gitlabhq/encode.rb
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlabhq/encode.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlabhq/encode.rb b/lib/gitlabhq/encode.rb index 780d839f420..1a81accea64 100644 --- a/lib/gitlabhq/encode.rb +++ b/lib/gitlabhq/encode.rb @@ -12,7 +12,7 @@ module Gitlabhq # It's better to default to UTF-8 as sometimes it's wrongly detected as another charset if detect[:encoding] && detect[:confidence] == 100 - CharlockHolmes::Converter.convert(message, encoding, 'UTF-8') + CharlockHolmes::Converter.convert(message, detect[:encoding], 'UTF-8') else message end.force_encoding("utf-8") |