Add g_get_console_charset

Queries the charset used by the associated console, which does not
necessarily match the charset of the current locale as returned by
g_get_charset.

Fixes https://gitlab.gnome.org/GNOME/glib/issues/1270
This commit is contained in:
Patrick Storz
2019-05-27 17:51:40 +00:00
committed by Philip Withnall
parent 73f8ff82ed
commit 56149722ae
6 changed files with 160 additions and 6 deletions

View File

@@ -2946,6 +2946,7 @@ GConvertError
<SUBSECTION>
g_get_charset
g_get_codeset
g_get_console_charset
<SUBSECTION Private>
g_convert_error_quark