Skip to content

Instantly share code, notes, and snippets.

@anildigital
Created May 23, 2011 17:14
Show Gist options
  • Save anildigital/22b247538083968a24c8 to your computer and use it in GitHub Desktop.
Save anildigital/22b247538083968a24c8 to your computer and use it in GitHub Desktop.
Image has chinese like characters
- JRuby 1.6.1
- writeexcel 0.6.5
require 'rubygems'
require 'writeexcel'
workbook = WriteExcel.new('ruby.xls')
worksheet = workbook.add_worksheet
worksheet.write(2, 1, "Bonjour ceci est gentil. J'ai aimé ce awesomeness.")
workbook.close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment