lib/writeexcel.rb in writeexcel-0.3.5 vs lib/writeexcel.rb in writeexcel-0.4.0

- old
+ new

@@ -1,5 +1,6 @@ +# -*- coding: utf-8 -*- ############################################################################### # # WriteExcel. # # WriteExcel - Write to a cross-platform Excel binary file. @@ -978,12 +979,13 @@ # 4. Ensure that you are using ':' as the range operator, A1:A4. # 5. Ensure that you are using ',' as the union operator, SUM(1,2,3). # 6. Ensure that the function is in the above table. # # If you go through steps 1-6 and you still have a problem, mail me. -# Improving performance when working with formulas # +# ===Improving performance when working with formulas +# # Writing a large number of formulas with Spreadsheet::WriteExcel can be slow. # This is due to the fact that each formula has to be parsed and with the # current implementation this is computationally expensive. # # However, in a lot of cases the formulas that you write will be quite @@ -1128,6 +1130,9 @@ # * When there are several charts with titles set in a workbook some of # the titles may display at a font size of 10 instead of the default # 12 until another chart with the title set is viewed. # class WriteExcel < Workbook + if RUBY_VERSION < '1.9' + $KCODE = 'u' + end end