Function glib::charset

source ·
pub fn charset() -> (bool, Option<GString>)
Expand description

Obtain the character set for the current locale.

This returns whether the locale’s encoding is UTF-8, and the current charset if available.