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
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
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 -
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"
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
5 matches
Mail list logo