Logo Search packages:      
Sourcecode: libgphoto2 version File versions  Download package

const char* gp_message_codeset ( const char *  codeset )

Set the current character codeset libgphoto2 is operating in.

Set the codeset for all messages returned by libgphoto2.

Parameters:
codesetNew codeset for the messages. For instance "utf-8".
Returns:
old codeset as returned from bind_textdomain_codeset().

You would then call gp_abilities_list_load() in order to populate it.

Definition at line 90 of file gphoto2-abilities-list.c.

References gp_port_message_codeset().

{
      gp_port_message_codeset (codeset);
      return bind_textdomain_codeset (GETTEXT_PACKAGE, codeset);
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index