Subject: Re: install/36560 [ctype problem with sysinst]
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Julian Coleman <jdc@coris.org.uk>
List: netbsd-bugs
Date: 10/06/2007 20:55:02
The following reply was made to PR install/36560; it has been noted by GNATS.

From: Julian Coleman <jdc@coris.org.uk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/36560 [ctype problem with sysinst]
Date: Sat, 6 Oct 2007 21:48:26 +0100

 It's easy to reproduce one of the bugs.  Try the appended code with the
 "old" curses library, and with the current library with and without
 LC_CTYPE in the environment.
 
 With the current library and without LC_CTYPE set, the 'ö' (0xf6) character
 is not displayed.  This is probably because a call to wc_width() returned 0,
 so the library did not display the character.
 
   - - 8< - - - - - - - - - - - - - Cut here - - - - - - - - - - - - - >8 - -
 #include <curses.h>
 
 int
 main ()
 {
 	initscr();
 	move(0, 0);
 	addstr("Löschen");
 	move(1, 0);
 	addstr("-------");
 	refresh();
 	getch();
 	endwin();
 	return 0;
 }
   - - 8< - - - - - - - - - - - - - Cut here - - - - - - - - - - - - - >8 - -
 
 J
 
 -- 
   My other computer also runs NetBSD    /        Sailing at Newbiggin
         http://www.netbsd.org/        /   http://www.newbigginsailingclub.org/