mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
gcharset: Mention the environment variables queried by g_get_charset()
Signed-off-by: Philip Withnall <withnall@endlessm.com> Reviewed-by: nobody
This commit is contained in:
parent
e889fb2a7f
commit
b6d1c128b3
@ -166,6 +166,10 @@ charset_cache_free (gpointer data)
|
||||
* handle file names. It might be different from the character set
|
||||
* used by the C library's current locale.
|
||||
*
|
||||
* On Linux, the character set is found by consulting nl_langinfo() if
|
||||
* available. If not, the environment variables `LC_ALL`, `LC_CTYPE`, `LANG`
|
||||
* and `CHARSET` are queried in order.
|
||||
*
|
||||
* The return value is %TRUE if the locale's encoding is UTF-8, in that
|
||||
* case you can perhaps avoid calling g_convert().
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user