Do you know how to make it support the chinese character?
When I have installed fastercsv and run the code below:
require 'watir'
require 'fastercsv'
FasterCSV.open("c:\\file.csv", "w") do |csv|
csv << ["row", "of", "CSV", "data"]
csv << ["你好吗?", "我很好"]
# ...
end
The chinese character can never display right in my .CSV file.
but when I run the code
puts "你好吗"
in my editor, I can get the expected output.
Any suggestion would be quite appreciated.
Thanks.
Wesley Chen.
On Sat, Apr 18, 2009 at 8:45 AM, George <[email protected]> wrote:
> gem install fastercsv
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---