diff --git a/src/lib/notcurses.c b/src/lib/notcurses.c index 5aa9bb2b6..248f9945a 100644 --- a/src/lib/notcurses.c +++ b/src/lib/notcurses.c @@ -843,7 +843,7 @@ notcurses* notcurses_init(const notcurses_options* opts, FILE* outfp){ } const char* encoding = nl_langinfo(CODESET); if(encoding == NULL || (strcmp(encoding, "ANSI_X3.4-1968") && strcmp(encoding, "UTF-8"))){ - fprintf(stderr, "Encoding (\"%s\") was neither ANSI_X3.4-1968 nor UTF-8, refusing to start\n", + fprintf(stderr, "Encoding (\"%s\") was neither ANSI_X3.4-1968 nor UTF-8, refusing to start\n Did you call setlocale()?\n", encoding ? encoding : "none found"); return NULL; }