[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: 13 versus 343

From: g.hohl
Subject: AW: 13 versus 343
Date: Mon, 30 Apr 2018 10:26:21 +0200

Hello Folkert,

I'm not sure why you expect 343.
Dec. 13 (Hex 0A) is a legal UTF-8 code for Enter.

Dec. 343 (Hex 01 57) is the "latin small letter r with cedilla": ŗ
I guess you'll never get this one.

Dec. 205 131 (Hex 03 43) is the "conbining Greek koronis": ̓
So I guess you don't mean that one.


-----Ursprüngliche Nachricht-----
Von: Bug-ncurses [mailto:address@hidden Im Auftrag von folkert
Gesendet: Montag, 30. April 2018 10:16
An: address@hidden
Betreff: 13 versus 343


When I press enter, get_wch() returns 13 instead of 343.
I link against ncursesw (and panelw) and I invoked
setlocale(LC_ALL, "");
before initting ncurses.
Is this to be expected?

What I'm trying to achieve is that users can input non-ascii (utf8 etc).

Folkert van Heusden


Bug-ncurses mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]