Project

General

Profile

Actions

Patch #25861

closed

CSV Importer - handle UndefinedConversionErrors

Added by Jens Krämer almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Importers
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

The CSV import already handles a couple of Exceptions that may happen when the user-selected encoding does not match the real encoding of the CSV (or it contains otherwise illegal byte sequences). We recently encountered Encoding::UndefinedConversionError, which is not yet caught by that error handling. The attached patches add a test case and a fix for that.


Files

Actions

Also available in: Atom PDF