Hello,
I am attempting to get a wide character using the get_wch function:
{
int chartype;
wint_t ch;
chartype = get_wch(&ch);
}
When typing ASCII characters as 'a', 'b', 'c' etc., they are returned
with chartype = 0 and ch = 'a', 'b', 'c' etc.
However, when typing non-ASCII characters as the Norwegian letters
'?', '?', '?', they are not recognized. get_wch() returns only ERR and
sets ch to 0.
I use raw() and keypad(), and my LANG is exported to "nb_NO.utf8".
System locales in general work well and my shell interprets these
characters OK.