unicode and dbf files
Ethan Furman
ethan at stoneleaf.us
Fri Oct 23 00:03:24 EDT 2009
John Machin wrote:
> On Oct 23, 7:28 am, Ethan Furman <et... at stoneleaf.us> wrote:
>
>>Greetings, all!
>>
>>I would like to add unicode support to my dbf project. The dbf header
>>has a one-byte field to hold the encoding of the file. For example,
>>\x03 is code-page 437 MS-DOS.
>>
>>My google-fu is apparently not up to the task of locating a complete
>>resource that has a list of the 256 possible values and their
>>corresponding code pages.
>
> What makes you imagine that all 256 possible values are mapped to code
> pages?
I'm just wanting to make sure I have whatever is available, and
preferably standard. :D
>>So far I have found this, plus variations:http://support.microsoft.com/kb/129631
>>
>>Does anyone know of anything more complete?
>
> That is for VFP3. Try the VFP9 equivalent.
>
> dBase 5,5,6,7 use others which are not defined in publicly available
> dBase docs AFAICT. Look for "language driver ID" and "LDID". Secondary
> source: ESRI support site.
Well, a couple hours later and still not more than I started with.
Thanks for trying, though!
~Ethan~
More information about the Python-list
mailing list