bug-ncurses
[Top][All Lists]
Advanced

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

Re: Remedial question re wide chars


From: Thomas Dickey
Subject: Re: Remedial question re wide chars
Date: Sat, 29 Sep 2007 19:44:52 -0400
User-agent: Mutt/1.5.16 (2007-06-11)

On Sat, Sep 29, 2007 at 11:23:25AM -0700, Mike Gran wrote:
> Any hints?  
> 
> -Mike 
> 
> #define _XOPEN_SOURCE_EXTENDED
> #include <curses.h>
> #include <unistd.h>

  #include <locale.h>

> int main()
> {
>   int ret;
>   cchar_t wcval;
> 
>   /* U+041B CYRILLIC CAPITAL LETTER EL*/
>   wchar_t cyrillic_el[2] = {0x041B, 0x0}; 
>   /* U+0041 LATIN CAPITAL LETTER A */
>   wchar_t latin_a[2] = {0x0041, 0x0};

    setlocale(LC_ALL, "");

>   initscr();

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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