README.rdoc in writeexcel-0.3.5 vs README.rdoc in writeexcel-0.4.0
- old
+ new
@@ -2,10 +2,16 @@
Write to a cross-platform Excel binary file.
== Recent Changes
+v0.4.0
+* works also on Ruby 1.9.1.
+* modify README.rdoc below.
+ * write source and run in utf8.
+ * unary minus supported. but -1 --> -1*1, -SIN() --> -1*SIN()
+
v0.3.5
* Bug fix. Worksheet#write_comment() doesn't work when value arg is numeric.
* Bug fix. TRUE/FALSE in formula was misundarstood as :NAME.
* Bug fix. Worksheet#close() mis-handled @colinfo.
* Bug fix. Worksheet#set_row() grbit mis-calculate by param hidden.
@@ -53,10 +59,11 @@
This module cannot be used to read an Excel file.
== Usage
See rdoc's WriteExcel class document.
+You must save source file in UTF8 and run ruby with -Ku option or set $KCODE='u'.
Example Code:
require 'writeexcel'
@@ -86,26 +93,25 @@
== Difference with Perl module
* WriteExcel.new()
* accept default format parameter such as new('foo.xls', :font => 'Roman', :size => 12)
+* Unary minus is supported, but it will be stored as '-1*'. ex) '=-1' -> '=-1*1', '=-SIN(PI()/2)' => '=-1*SIN(PI()/2)'
* Worksheet.write(row, col, token, format)
* if token.kind_of?(Numeric) then call write_number, if token.kind_of?(String) then not call write_number().
* Worksheet.keep_leading_zeros()
* ignore. if write 0001, use string such as write(1,2, '0001')
* and ......
== Caution
-This library can handle multibyte character written in utf8. I tested in Japanese,
-and it looks work well. But, in this version, utf8 or not is recognized
-by matching non-ascii characters because ruby 1.8 can not recognize character code
-correctly.
+You must save source file in UTF8 and run ruby with -Ku option or set $KCODE='u'
+when use urf8 string data.
== Dependencies
-* ruby 1.8
+* ruby 1.8, ruby 1.9.1
== Author
Original was written in Perl by John McNamara (jmcnamara@cpan.org).
@@ -115,10 +121,10 @@
== License
same as Ruby.
== Note on Patches/Pull Requests
-
+
* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
future version unintentionally.
* Commit, do not mess with rakefile, version, or history.