src/liflines/cscurses.c
/*============================
 * wgetccnstr -- wgetnstr with codeset convert from GUI to internal
 * Created: 2002/12/03 (Perry Rapp)
 *==========================*/
- wgetnstr with codeset convert from GUI to internal
Created: 2002/12/03 (Perry Rapp)
- wgetnstr with codeset convert from GUI to internal Created : 2002 / 12 / 03 ( Perry Rapp )
int
wgetccnstr (WINDOW *wp, char *cp, int n)
{
	ZSTR zstr=0;
	int rtn = wgetnstr(wp, (char *)cp, n);
	zstr = zs_news(cp);
	disp_to_int(zstr);
	llstrsets(cp, n, uu8, zs_str(zstr));
	zs_free(&zstr);
	return rtn;
}
int wgetccnstr ( WINDOW * wp , char * cp , int n ) { ZSTR zstr = 0 ; int rtn = wgetnstr ( wp , ( char * ) cp , n ) ; zstr = zs_news ( cp ) ; disp_to_int ( zstr ) ; llstrsets ( cp , n , uu8 , zs_str ( zstr ) ) ; zs_free ( & zstr ) ; return rtn ; }
wgetccnstr -- wgetnstr with codeset convert from GUI to internal
 Created: 2002/12/03 (Perry Rapp)
wgetccnstr -- wgetnstr with codeset convert from GUI to internal Created : 2002 / 12 / 03 ( Perry Rapp )
/* TODO: Need Win32-specific code here to handle Unicode input on NT family */