Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.253
  HXTT Cobol 5.0.252
  HXTT DBF 7.1.253
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel 6.1.256
  HXTT Json 1.0.224
  HXTT Paradox 7.1.252
  HXTT PDF 2.0.252
  HXTT Text(CSV) 7.1.252
  HXTT Word 1.1.252
  HXTT XML 4.0.253
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 DBF
two files, different charsets, different results
Maxim Varfolomeev
2010-02-03 04:16:18
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
Please send us two test dbf sample.
Re:Re:two files, different charsets, different results
Maxim Varfolomeev
2010-02-03 21:22:26
sent to support@hxtt.com
Re:Re:Re:two files, different charsets, different results
HXTT Support
2010-02-04 03:42:58
Please download the latest package which supports different charset in dbf tables.

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 | Sitemap