This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
xwinclip - setlocale error
- From: "J S" <vervoom at hotmail dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Fri, 06 Dec 2002 12:36:18 +0000
- Subject: xwinclip - setlocale error
- Bcc:
- Reply-to: cygwin-xfree at cygwin dot com
I downloaded the latest xwinclip but when I try to run it I get:
$ xwinclip
UnicodeSupport - Windows NT/2000/XP
setlocale() error
The corresponding code is:
/* Set the current locale? What does this do? */
if (fUnicodeSupport)
{
#ifdef X_LOCALE
if (!_Xsetlocale (LC_ALL, ""))
#else
if (!setlocale (LC_ALL, ""))
#endif
{
printf ("setlocale() error\n");
exit (1);
}
Can anyone explain to me what's happening here? I tried setting the LC_ALL
variable but didn't get anywhere.
Thanks,
JS.
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail