void setEncoding(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
    dbf->setEncoding(1);
    // your code
}