- (void) setEncoding: (NSInteger) encoding;

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

In Objective-C you can set any single-byte encoding, such as NSWindowsCP1251StringEncoding.


{
    // your code
    [dbf setEncoding:NSWindowsCP1251StringEncoding];
    // your code
}