bug-ncurses
[Top][All Lists]
Advanced

[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.


Regards,
Gerrit

-----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

Hi,

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
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-ncurses

reply via email to

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