void setEncoding(cdbfapiPlus* handle, int e);

The function setEncoding() defines a default encoding which will be used when you get or set strings.

In C there are only two possible values: 0 and 1 (ANSI and OEM).


{
    // your code
    setEncoding(dbf, 1);
    // your code
}