This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

xwinclip - setlocale error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]