get_message_encoding


Description:

public unowned string? get_message_encoding ()

Get the encoding for the message of a commit, as a string representing a standard encoding name.

The encoding may be null if the 'encoding' header in the commit is missing; in that case UTF-8 is assumed.

Parameters:

this

a Commit.

Returns:

the encoding of the commit message or null.