-
Notifications
You must be signed in to change notification settings - Fork 13
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
Support wide-character ncurses output #71
Comments
Odd, I found that plain |
You sure you tried it with wide-character (notably, UTF-8) locales, and not e.g. ISO-8859-1 locales? As an example, here's how the output looks with On Fedora Linux, On Gentoo Linux, I needed to link with I did originally try using that
but that would break the includes:
I'm not sure how to control include and linker flags more precisely using I'm also unsure when we need to link against I found a specific macro AX_WITH_CURSES, and that seems to promise proper curses detection on a variety of platforms, but replacing |
Okay, I've been able to solve for both |
Feature branch for solution using |
Fixed Here's another PR #73. This approach is likely more robust and more portable. |
Following up to make sure After #74 is merged it should at least work the same as before, although I have no way of testing with this particular Curses variant. |
#74 looks good to me. I also cannot test this. |
Thanks for sharing that bit of info. I did a casual google search and found From this article it seems that HP-UX in 2008 did not have Last version of Tru64 was released in 2010. Nevertheless, we agree that it does not hurt to keep |
Wide characters (UTF-8) in strings like location names don't render properly in curses UI when linked with
-lncurses
.On my Linux system, simply linking against
-lncursesw
instead of-lncurses
does the trick.I'd propose a patch but after some tinkering I am not sure how to go about patching project's current
configure.ac
to automatically detectncursesw
-- perhaps m4 macros that come with newer autotools can solve this.The text was updated successfully, but these errors were encountered: