Re: Trouble with character sets

2020-08-03 Thread Michael Shay via Cygwin
Michael From: "Andrey Repin" To: "Michael Shay" , cygwin@cygwin.com Date: 08/03/2020 02:06 PM Subject: Re: Trouble with character sets Greetings, Michael Shay! Please bottom post in this mailing list. > Doesn't help. I tried 65001 (UTF-8): Bec

Re: Trouble with character sets

2020-08-03 Thread Andrey Repin
Greetings, Michael Shay! Please bottom post in this mailing list. > Doesn't help. I tried 65001 (UTF-8): Because you're confusing things. chcp has nothing to do with LANG or LC_*. Et vice versa. chcp sets console code page for native console applications. Only for those supporting it. Many do n

Re: Trouble with character sets

2020-08-03 Thread Michael Shay via Cygwin
t; LC_NUMERIC="en_US.CP1252" LC_TIME="en_US.CP1252" LC_COLLATE="en_US.CP1252" LC_MONETARY="en_US.CP1252" LC_MESSAGES="en_US.CP1252" LC_ALL=en_US.CP1252 Running WIN32 pgm Transcoding using Cygwin codepage: 1252 Input widechar string: lpw[0] = Z -

Re: Trouble with character sets

2020-08-03 Thread Brian Inglis
On 2020-08-03 09:36, Michael Shay via Cygwin wrote: > I'm having a problem with Cygwin 3.1.4, changing the character set on the > fly. It seems to work with Cygwin applications, but not with Win32 > applications. > I have a Korn shell script: > #!/bin/ksh > OLD_LANG="$LANG" > OLD_LC_ALL="$LC_ALL"

Trouble with character sets

2020-08-03 Thread Michael Shay via Cygwin
I'm having a problem with Cygwin 3.1.4, changing the character set on the fly. It seems to work with Cygwin applications, but not with Win32 applications. I have a Korn shell script: #!/bin/ksh OLD_LANG="$LANG" OLD_LC_ALL="$LC_ALL" echo "locale on entry" locale echo "" export LANG="en_US.CP12