-
-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve bad locale error message, almost always due to absence of setlocale() #414
Comments
my bad after reading more the documentation I've found that setting
solves the warning |
I should probably improve that error message. You won't be the last person to run into this problem. Thanks for the report and reminding me to improve this. Reopening. |
[killermike](1) $ export LANG=en_GB
[killermike](0) $ ./notcurses-demo
Encoding ("ISO-8859-1") was neither ANSI_X3.4-1968 nor UTF-8, refusing to start
Did you call setlocale()?
[killermike](1) $ I think that will probably come in handy more than once. Thanks for the report @allan-simon , and your interest in Notcurses! This will be present in 1.2.4 if there is a 1.2.4 release, and either way it will be in 1.3.0. |
ah thanks yes like this I would have discovered earlier my mistake :) |
wonderful! i only beat nethack two years ago, after playing it off-and-on for nearly twenty years :). please don't hesitate to report other places where notcurses could be friendlier. i am accustomed to a good deal of frustration when programming with NCURSES, and hope to eliminate whatever pain points i can :D 🗡️ . |
my program is very simple
however when I execute it, it output a warning (even though I execute explicitly with the LC_ALL variable set):
The text was updated successfully, but these errors were encountered: