This project is read-only.
2
Vote

Non-ASCII encoding

description

Currently, usage of the ASCII encoder is hard-coded for character fields. However, it is common to store characters in other encodings (for example, in order to be able to represent all characters with accents, code page 852 is often used in Hungary). It would be beneficial if there was an option to specify the encoder when opening a DBF file.

comments

alacevic wrote Nov 6, 2011 at 11:54 AM

I am not sure that the DBF specification allows this. I will have to look into this issue, it has been a while since I looked at the DBF spec, but as far as I remember DBF only supports ASCII. I hope that is not the case, but it may be.

alvarez wrote Nov 7, 2011 at 9:27 AM

The DBF specification definitely doesn't allow this, but this kind of usage has been quite common nevertheless.

alacevic wrote Nov 7, 2011 at 5:38 PM

i will try to do a round of updates on this library and include this in the update. There are a few other smallish issues that should be addressed as well.

13xforever wrote Mar 26, 2012 at 11:06 AM

Hi! I've forked your project for our needs and fixed some things, including the ability to change the encoding.

You can find it at https://github.com/13xforever/FastDBF

PS: I'm also considering to rewrite the whole thing as it's API is painful right now (but that's a big if)

wrote Feb 14, 2013 at 8:30 PM