Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

HXTT DBF
two files, different charsets, different results
Maxim Varfolomeev
2010-02-03 04:16:18.0
I'm trying to read data from a legacy system using pentaho di with your driver.
I came across an issue where the join of two tables resulted in no rows via your driver though it worked fine with JDBC through ODBC.
I was able to track down the issue to this simple case:
* 2 tables: tab866 (lang.id 65h in the header, same as cp866), tab1251 (lang.id C9h in the header, same as cp1251)
* connect to jdbc:dbf:///C:/test
* select col1, col2, expect, (col1+col2) x from table1251;
showed expected == x (normal russian characters in all columns)
* select col1, col2, expect, (col1+col2) x from table866;
showed some garbage in the concatenated "x" column

in the end,
select d.COL1, w.col1 x from table866 d join table1251 w on d.col1 + d.col2 = w.expect
returns only 2 rows out of 3.

if I connect to jdbc:dbf:///C:/test?charSet=cp866 then select col1, col2, expect, (col1+col2) x from table866; gives normal results, but select col1, col2, expect, (col1+col2) x from table1251; starts giving garbage instead of all russian letters (only digits and latin pass).

what can I try to solve this?
Re:two files, different charsets, different results
HXTT Support
2010-02-03 16:25:14.0
Please send us two test dbf sample.
Re:Re:two files, different charsets, different results
Maxim Varfolomeev
2010-02-03 21:22:26.0
sent to support@hxtt.com
Re:Re:Re:two files, different charsets, different results
HXTT Support
2010-02-04 03:42:58.0
Please download the latest package which supports different charset in dbf tables.

Search Key   Search by Last 50 Questions




Google
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap