Ruby æ¨æºæ·»ä»ã©ã¤ãã©ãªã® CSV 㧠Windows-31J (Shift_JIS ã§ãè¯ããã©) 㪠CSV ãä½ã£ã¦ããã®ã ããã©ããç¹å®ã®æåãå«ã¾ãã¦ãã㨠Encoding::UndefinedConversionError ã«ãªã£ã¦ãã¾ãã irb(main):011:0> CSV.open(File.join('/var/tmp/hoge.csv'), 'w', encoding: 'Windows-31J') do |csv| irb(main):012:1* csv << %w( d é f ) irb(main):013:1> end Encoding::UndefinedConversionError: U+00E9 from UTF-8 to Windows-31J irb(main):014:0> CSV.open(File.join('/var/tmp/h
{{#tags}}- {{label}}
{{/tags}}