Function glib::functions::charset

source ·
pub fn charset() -> (bool, Option<&'static GStr>)
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.