Move the g_locale_get_codeset() up in the header file to correspond to to