packages: redmine/redmine-csv-utf.patch (NEW) - the usual ruby fuckup...
baggins
baggins at pld-linux.org
Fri Mar 12 21:49:10 CET 2010
Author: baggins Date: Fri Mar 12 20:49:10 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- the usual ruby fuckup...
---- Files affected:
packages/redmine:
redmine-csv-utf.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/redmine/redmine-csv-utf.patch
diff -u /dev/null packages/redmine/redmine-csv-utf.patch:1.1
--- /dev/null Fri Mar 12 21:49:10 2010
+++ packages/redmine/redmine-csv-utf.patch Fri Mar 12 21:49:05 2010
@@ -0,0 +1,11 @@
+--- redmine-0.9.3-fixes/app/helpers/issues_helper.rb~ 2010-02-28 11:28:05.000000000 +0100
++++ redmine-0.9.3-fixes/app/helpers/issues_helper.rb 2010-03-12 19:52:55.262371393 +0100
+@@ -144,7 +144,7 @@
+ def issues_to_csv(issues, project = nil)
+ ic = Iconv.new(l(:general_csv_encoding), 'UTF-8')
+ decimal_separator = l(:general_csv_decimal_separator)
+- export = FCSV.generate(:col_sep => l(:general_csv_separator)) do |csv|
++ export = FCSV.generate(:col_sep => l(:general_csv_separator), :encoding => Encoding::UTF_8) do |csv|
+ # csv header fields
+ headers = [ "#",
+ l(:field_status),
================================================================
More information about the pld-cvs-commit
mailing list