Closed jpcima closed 4 years ago
Any non-ASCII, the same fails with Japanese:
Please check if it does same with a PREFER_PDCURSES=ON
build, to verify if problem is terminal related.
With PDCurses is same:
The fact, this happens at my job PC but doesn't happen at my home, however, It was at my home also until some moment... (with no-PDCurses build)
It's normal that pdcurses doesn't show cyrillic, as it doesn't have the bitmap font for it. What's shown is expected currentbehavior.
But still, it does indicate a thing: it does not translate into these "M-" bizarre char sequences. Is MATE-terminal the terminal emulator used?
It's not MATE, it's XFCE4's terminal
The same happens with Gnome terminal also. Is that because of ncurses-side setup? Or ncrurses/ncursesw?
Seems I didn't have more luck reproducing this on XFCE one. Ncurses is supposed to be the ncursesw one.
Hi, I confirm non-wide ncurses as not displaying correct characters. Make sure that it's ncursesw the library linked into adlrt. In CMake, ordinary ncurses is picked as fallback, probably I shouldn't do that.
So, I had that crap even libncursesw5-dev
was installed, however, yeah, I have nuked entire "build" folder and I have ran build from scratch, so, the problem has gone, finally! :fox_face:
Great. :+1: :fox_face: In the last commit, I forced linking the wide ncurses versions.
@Wohlstand has reported the files with cyrillic characters as displaying incorrectly. The locale used was
ru_RU.UTF-8
. I couldn't reproduce it.