Date: Tue, 11 Jan 2000 00:07:30 -0500 (EST) From: Mikhail Teterin <mi@kot.ne.mediaone.net> To: obrien@freebsd.org Cc: ache@freebsd.org, stable@freebsd.org Subject: Re: isprint(3) and LANG/LOCALE Message-ID: <200001110507.AAA90968@rtfm.newton> In-Reply-To: <20000110205334.C98651@relay.nuxi.com> from "David O'Brien" at "Jan 10, 2000 08:53:34 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
David O'Brien once stated:
=>Is the subject supposed to consider the LANG setting? I'd think so,
=>but
=>
=I would email ache@freebsd.org as he is our internationalization guy.
Is not he reading -stable?
=Possibly putting calls to setlocale() in main() will help.
Does not appear to change the result of this little program...
-mi
#include <stdio.h>
#include <ctype.h>
#include <locale.h>
main(int argc, char *argv[]) {
char *c;
setlocale(LC_ALL, "");
for(c = argv[argc-1]; *c; *c++)
printf("for %c isprint() returns %d\n", *c, isprint(*c));
}
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001110507.AAA90968>
