/*
* Update the localeisutf8 flag.
* And force reinitialization of libedit's key mappings (PR bin/170651).
*/
void
updatecharset(void)
charset = nl_langinfo(CODESET);
localeisutf8 = !strcmp(charset, "UTF-8");
#ifndef NO_HISTORY
histedit();
#endif
}