namayaki3 (山中 裕樹)
- Login: namayaki3
- Registered on: 02/12/2020
- Last sign in: 02/12/2020
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
02/12/2020
-
01:45 AM Ruby Bug #16628: CSV.new する時にGzipReaderを渡すとCSV::Parser::InvalidEncodingが出る場合がある
- さっそくの返信ありがとうございます。
ISSUE作りました。英語の方が良ければ英語に直します。。
また、CSVファイルは秘匿情報が含まれているため、いますぐそのままお渡しできないです・・・申し訳ありません。
ファイル加工して共有できるような形にできればと思います。 -
01:31 AM Ruby Bug #16628 (Third Party's Issue): CSV.new する時にGzipReaderを渡すとCSV::Parser::InvalidEncodingが出る場合がある
- ## バージョン
ruby 2.6.5
## 現象
以下のようにCSV.newする時にGZipReaderを渡すとCSV::Parser::InvalidEncodingが出てエラーになります。
### コード
```
gz = Zlib::GzipReader.new(File.open("file/to/path")
CSV.new(gz).each_with_index do |d,i|
~~~ 略 ~~~~
end
``...