Question
How is byte order mark (BOM) handled when UTF8 is specified as the encoding in the CSV connector? Also, if a file is output, will BOM be added?
Answer
Read CSV File operation
When UTF8 is specified for encoding, files with BOM can be read normally.
Write CSV File operation
When UTF8 is specified for encoding, BOM is not added.
Supplementary information
Adding BOM to an output file
The file writing operation depends on the behavior of the java library. For this reason, the BOM cannot be added to the output in HULFT Square.
Previewing a file on the properties screen, etc.
When a file with BOM is displayed in preview window, BOM is read as a control character, so it is displayed as garbled characters. However, when reading the file, BOM is not included in the read target, so it does not affect the result.
Comments
0 comments
Article is closed for comments.