Reference Manual - 1.0.0
IDirectFBFont   SetEncoding

Change the default encoding used when the font is set at a surface.

SetEncoding (
  IDirectFBFont   * thiz,
  DFBTextEncodingID   encoding
);

It's also the encoding used for the measurement functions of this interface, e.g. IDirectFBFont::GetStringExtents().