[#89806] [Ruby trunk Bug#15306] Generate prelude.c using miniruby — v.ondruch@...
Issue #15306 has been reported by vo.x (Vit Ondruch).
3 messages
2018/11/15
[ruby-core:89670] [Ruby trunk Bug#14253] CSV.generate doesn't wrap a string anymore
From:
sue@...
Date:
2018-11-01 07:42:03 UTC
List:
ruby-core #89670
Issue #14253 has been updated by doda (Kouichi Iwamoto). Could you consider backporting this patch to 2.5? The following code that generates a CSV file with a BOM does not work correctly with Ruby 2.5. ~~~ ruby require 'csv' csv_str = "\uFEFF" # BOM CSV.generate(csv_str) do |csv| csv << ["列1", "列2", "列3"] end print csv_str ~~~ ---------------------------------------- Bug #14253: CSV.generate doesn't wrap a string anymore https://bugs.ruby-lang.org/issues/14253#change-74712 * Author: ahorek (Pavel Rosický) * Status: Closed * Priority: Normal * Assignee: kou (Kouhei Sutou) * Target version: * ruby -v: * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- linking with: https://github.com/ruby/csv/pull/13/files -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>