[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 13 versus 343
From: |
folkert |
Subject: |
Re: 13 versus 343 |
Date: |
Mon, 30 Apr 2018 10:27:37 +0200 |
User-agent: |
NeoMutt/20170306 (1.8.0) |
Hi Gerrit,
I'm expecting 343 as that is KEY_ENTER which is the ncurses key-code for
enter. Well, that is what I think it is :-)
On Mon, Apr 30, 2018 at 10:26:21AM +0200, address@hidden wrote:
> 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
Folkert van Heusden
--
Multi tail barnamaj mowahib li mora9abat attasjilat wa nataij awamir
al 7asoub. damj, talwin, mora9abat attarchi7 wa ila akhirih.
http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com