lib/roo/excel.rb in roo-0.9.3 vs lib/roo/excel.rb in roo-0.9.4
- old
+ new
@@ -343,9 +343,11 @@
def platform_specific_iconv(value)
case RUBY_PLATFORM.downcase
when /darwin/
result = Iconv.new('utf-8','utf-8').iconv(value)
+ when /solaris/
+ result = Iconv.new('utf-8','utf-8').iconv(value)
when /mswin32/
result = Iconv.new('utf-8','iso-8859-1').iconv(value)
else
result = Iconv.new('utf-8','unicode').iconv(value)
end # case