Re: `locale -s` shows incorrect info on systems where the language is changed after the OOBE

2022-04-29 Thread Thomas Wolff
Am 29/04/2022 um 12:16 schrieb Gennaro Prota: Hi, the locale utility currently gets the system default UI locale (-s option) via GetSystemDefaultUILanguage(). This is a problem on systems where the default UI language is changed after the Windows Out of Box Experience (OOBE), because that funct

Re: locale bug?

2021-05-17 Thread Achim Gratz
Jason Pyeron writes: > While working an updated build of pdfgrep, I ran in to a crash when > the environment local was something other than LC_ALL=C. > > Looking at http://www.cplusplus.com/reference/locale/locale/locale/ > the empty string passed to the constructor should use the > environment's d

Re: locale -uU in ~/.profile

2014-10-01 Thread Achim Gratz
Eric Blake redhat.com> writes: > Sounds like cygwin's base-files should be updated to guard > cygwin-specific .profile contents to only occur when uname says it is > running on cygwin. I'm sure the maintainer would love patches... I'm listening... although default ~/.profile only gets installed

Re: locale -uU in ~/.profile

2014-09-30 Thread Andrew DeFaria
On 9/30/2014 1:12 PM, Eric Blake wrote: On 09/30/2014 11:53 AM, Andrew DeFaria wrote: I recently debugged this. I share my home directory from a NetApp filer such that I can use it from Cygwin or the various Linux machines at my client (largely CentOS). Recently I started seeing: Adefaria-lt:ss

Re: locale -uU in ~/.profile

2014-09-30 Thread Eric Blake
On 09/30/2014 11:53 AM, Andrew DeFaria wrote: > I recently debugged this. I share my home directory from a NetApp filer > such that I can use it from Cygwin or the various Linux machines at my > client (largely CentOS). Recently I started seeing: > > Adefaria-lt:ssh cm-db-ltest01 > locale: invalid

Re: locale "de_DE.UTF-8", fscanf problem?

2014-01-01 Thread Tilman Kuepper
On Dec 17 17:49, Corinna Vinschen wrote: > On Dec 17 11:04, Corinna Vinschen wrote: > > On Dec 17 10:09, Tilman Kuepper wrote: > > > Hello, > > > > > > There seems to be an "unbalance" with fprintf and fscanf when using > > > the "de_DE.UTF-8" locale. > > > [...] I applied a newlib patch toda

Re: locale "de_DE.UTF-8", fscanf problem?

2013-12-18 Thread Corinna Vinschen
On Dec 17 17:49, Corinna Vinschen wrote: > On Dec 17 11:04, Corinna Vinschen wrote: > > On Dec 17 10:09, Tilman Kuepper wrote: > > > Hello, > > > > > > There seems to be an "unbalance" with fprintf and fscanf when using > > > the "de_DE.UTF-8" locale. > > > > > > The following program correctly w

Re: locale "de_DE.UTF-8", fscanf problem?

2013-12-17 Thread Corinna Vinschen
On Dec 17 11:04, Corinna Vinschen wrote: > On Dec 17 10:09, Tilman Kuepper wrote: > > Hello, > > > > There seems to be an "unbalance" with fprintf and fscanf when using > > the "de_DE.UTF-8" locale. > > > > The following program correctly writes "2,5" (decimal comma) to a > > file. But reading wi

Re: locale "de_DE.UTF-8", fscanf problem?

2013-12-17 Thread Corinna Vinschen
On Dec 17 10:09, Tilman Kuepper wrote: > Hello, > > There seems to be an "unbalance" with fprintf and fscanf when using > the "de_DE.UTF-8" locale. > > The following program correctly writes "2,5" (decimal comma) to a > file. But reading with fscanf fails - the decimal comma is treated > as "end

Re: locale

2011-10-09 Thread Andy Koppe
On 9 October 2011 11:37, Jan Kolar wrote: > > Re: /cygwin-patches/ Add locale.exe option for querying Windows UI languages >> >> Corinna Vinschen-2 wrote in >> h t t p : old nabble com >>  Add-locale.exe-option-for-querying-Windows-UI-languages-to32614984.html >> >> Therefore, afaics, it would be b

Re: locale(1) not POSIX compliant (easy to fix, patch almost included)

2011-05-03 Thread Corinna Vinschen
On May 2 18:32, Jens Schweikhardt wrote: > hello, world\n > > "locale -a" prints its output space padded, while POSIX specifies > > src="http://pubs.opengroup.org/onlinepubs/009695399/utilities/locale.html";> > > If any arguments are specified: > > If the -a option is specified, the names

Re: locale ?

2010-02-19 Thread Corinna Vinschen
On Feb 19 17:54, BERTRAND Jo?l wrote: > Hello, > > I'm trying to use cygwin to port a soft to Windows and its makefile > requires locale tool. I'm unable to find /usr/bin/locale in Cygwin > packages. Where is this tool ? It doesn't exist yet. The locale support is work in progress an

Re: Re: locale issue? cygwin 1.7, aspell 0.60, reproducible crash

2009-09-10 Thread Josh Berdine
"Thrall, Bryan" wrote in message Josh Berdine wrote on Thursday, September 10, 2009 5:46 PM: "Thrall, Bryan" wrote in message Looks like foo.txt has Windows line endings; try running 'd2u foo.txt' and then aspell again. Thanks, but after changing to unix line endings I see the same behavio

RE: Re: locale issue? cygwin 1.7, aspell 0.60, reproducible crash

2009-09-10 Thread Thrall, Bryan
Josh Berdine wrote on Thursday, September 10, 2009 5:46 PM: > "Thrall, Bryan" wrote in message >> Looks like foo.txt has Windows line endings; try running 'd2u foo.txt' >> and then aspell again. > > Thanks, but after changing to unix line endings I see the same behavior. > Same for checking the em

Re: locale issue? cygwin 1.7, aspell 0.60, reproducible crash

2009-09-10 Thread Josh Berdine
"Thrall, Bryan" wrote in message Josh Berdine wrote on Thursday, September 10, 2009 4:48 PM: I'm running cygwin 1.7 on windows 7 and seeing aspell crash every time I try to run it. The message I get from the shell is: $ aspell check foo.txt .cset" could not be opened for reading or does not

Re: locale issue? cygwin 1.7, aspell 0.60, reproducible crash

2009-09-10 Thread Larry Hall (Cygwin)
On 09/10/2009 05:47 PM, Josh Berdine wrote: Hi, I'm running cygwin 1.7 on windows 7 and seeing aspell crash every time I try to run it. The message I get from the shell is: $ aspell check foo.txt .cset" could not be opened for reading or does not exist.lib/aspell-0.60/ Aborted (core dumped) F

RE: locale issue? cygwin 1.7, aspell 0.60, reproducible crash

2009-09-10 Thread Thrall, Bryan
Josh Berdine wrote on Thursday, September 10, 2009 4:48 PM: > I'm running cygwin 1.7 on windows 7 and seeing aspell crash every time I try > to run it. The message I get from the shell is: > > $ aspell check foo.txt > .cset" could not be opened for reading or does not exist.lib/aspell-0.60/ > Abo

Re: locale and keychain

2005-05-19 Thread Hack Kampbjorn
Karl M wrote: Hi All... The next upstream version of keychain uses the locale command to check on the settings. I didn't see any function by that name. Can coreutils add a stub for this? If it does then it lost it's portability factory. locale is not present on all unices. Thanks, ...Karl -- Un

Re: locale and keychain

2005-05-18 Thread Karl M
Hi All... From: Christopher Faylor Subject: Re: locale and keychain Date: Tue, 17 May 2005 19:34:15 -0400 On Tue, May 17, 2005 at 03:20:45PM -0700, Karl M wrote: >The next upstream version of keychain uses the locale command to check on >the settings. I didn't see any function by tha

Re: locale and keychain

2005-05-17 Thread Christopher Faylor
On Tue, May 17, 2005 at 03:20:45PM -0700, Karl M wrote: >The next upstream version of keychain uses the locale command to check on >the settings. I didn't see any function by that name. Can coreutils add a >stub for this? Why are you suggesting that coreutils should provide this? coreutils does

Re: locale and keychain

2005-05-17 Thread Eric Blake
> The next upstream version of keychain uses the locale command to check on > the settings. I didn't see any function by that name. Can coreutils add a > stub for this? I agree that a locale(1) stub (and localedef(1), too) would be useful, but they should belong to their own package (or else cyg

Re: LOCALE ERROR

2003-12-07 Thread Yitzchak Scott-Thoennes
On Sun, Dec 07, 2003 at 09:15:28PM -0300, Marcelo Rezende Módolo <[EMAIL PROTECTED]> wrote: > I read the man pages "man setlocale", "man strftime" and find a mistake > in str format. Did you read the part about only the minimum locale support being present? > I use ' if (!strftime((char *)str,

Re: LOCALE ERROR

2003-12-07 Thread Marcelo Rezende Módolo
I read the man pages "man setlocale", "man strftime" and find a mistake in str format. I use ' if (!strftime((char *)str, 100, "%#x", (const struct tm *)thetime))' but the correct is ' if (!strftime((char *)str, 100, "%x", (const struct tm *)thetime))'... But I still have the same output for all

Re: LOCALE ERROR

2003-12-07 Thread Igor Pechtchanski
On Sun, 7 Dec 2003, Marcelo Rezende Módolo wrote: Hi, I have a program that needs the locale support, so I include 'locale.h'. I make the program but the output was wrong. With the cygwin library the setlocale function do not work, but if I link with mingw library it is ok I am sending a sample pr

Re: locale question

2003-11-12 Thread Lucifer
For less, use `less -r' and answer `y'. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 8:51 AM Subject: locale question > Hi, > > I installed cygwin, but it can not display locale charaters(Simplified Chinese and > Traditional

Fwd: RE: Locale question

2002-11-06 Thread Larry Hall (RFK Partners, Inc)
I think you meant for this to go to the list. In any case, someone there may have this answer for you. >From: "Jan Slivka" <[EMAIL PROTECTED]> >To: "Larry Hall \(RFK Partners, Inc\)" <[EMAIL PROTECTED]> >Subject: RE: Locale question >Date: Wed, 6

Re: Locale question

2002-11-06 Thread Larry Hall (RFK Partners, Inc)
At 04:25 AM 11/6/2002, Jan Slivka wrote: >Hi, > >is there any way to use some locale keyboards? >I am from Czech Republic and I am missing some czech characters... :-( Look at the FAQ: Why don't international (8-bit) characters work? http://cygwin.com/faq/faq_4.html#SEC48 Larry Hall

Re: locale on cygwin

2002-04-29 Thread Christopher Faylor
Please check out the project web page for links to available information and ports: http://cygwin.com/ . If you don't see what you need there, then the cygwin mailing list is the best place to make observations or get questions answered. Information on the mailing list is available at the projec