Hello,
Thank you for your great product, but I still have a problem :
I developed my tool based on HXTT in Java, under Windows. It is all OK.
But we now generate on the Unix server, and there appear to be problems with CR + LF at the end of the line.
Is there a possibility to change the character(s) used to teminate a record? Or better, have you already a work-around for that situation?
I would need only a CR (carriage return) at the end of each line of my CSV.
I checked the URL Connection properties, but saw nothing relevant.
Thank you in advance for your answer.
Gregory
|
According to your request, v4.0.038 provides _CSV_EOL connection property for to specify 1~2 character sequence to terminate one line. An end-of-line line sequence is any one of a line feed ('\n', 0x0A), a carriage return ('\r', 0x0D), or a carriage return followed immediately by a linefeed. In most occasions, you needn't to care that connection property, since HXTT CSV supports even to mix three styles in one file. For data update, HXTT CSV can detect automatically OS version and choose the suitable EOL style in UNIX-style, DOS-style, and Mac-style. If you wish to create unix-style file on Windows, then you need to assign that connection porperty. It supports escape processing so that you can use \t, \r, \u001A, \x32, and so on. For instance, your data file is using $ as EOL, HXTT CSV can support that file. It will be available after about 6 hours.
|
Many thanks for your support. It is here greatly appreciated.
We will give it a try.
Have a nice day,
G. Dubois
|