Skip to content

Commit

Permalink
encoding fix for ruby 1.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrebini committed Mar 23, 2011
1 parent e1703ba commit 0386a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spreadsheet/excel/writer/biff8.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module Biff8
# is a Null-byte) and perform compression.
# Returns the data and compression_status (0/1)
def compress_unicode_string data
compressed = ''
compressed = internal('')
expect_null = false
data.each_byte do |byte|
if expect_null
Expand Down

0 comments on commit 0386a74

Please sign in to comment.