"Input length = 1 " error during automatic creation of DFASDL

"Input length = 1 " error during automatic creation of DFASDL

If the system tries to create a new DFASDL from a file (Json, CSV, etc.), the following error can occur:

Generation of DFASDL failed: Input length = 1

Normally, Tensei-Data automatically tries to identify the encoding of the related files, but it can happen that this automatic detection fails.

If the automatic creation of the DFASDL fails, you can try to convert the file to UTF-8.

Examples for the converion:

  • Do another export of the CSV file from the source system and specify UTF-8 as encoding
  • Use iconv on Unix machines
topic