Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Word v1.1
  HXTT XML v4.0
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT Text(CSV)
HXTT Text - end of line
Gregory Dubois
2008-06-16 06:34:48
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
Re:HXTT Text - end of line
HXTT Support
2008-06-27 22:29:44
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.
Re:Re:HXTT Text - end of line
Gregory Dubois
2008-06-30 05:09:59
Many thanks for your support. It is here greatly appreciated.
We will give it a try.

Have a nice day,
G. Dubois

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Refund | Sitemap