Skip Menu |
Report information
Id: 134278
Status: open
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: rleelasa [at] mathworks.com
Cc:
AdminCc:

Operating System: (no value)
PatchStatus: (no value)
Severity: low
Type: unknown
Perl Version: (no value)
Fixed In: (no value)



Subject: Environment variables with Unicode (non-ASCII) values on Windows are not printed correctly by Perl
Date: Tue, 9 Jul 2019 09:53:42 -0400
To: <perlbug [...] perl.org>
From: <rleelasa [...] mathworks.com>
CC: <jkahrman [...] mathworks.com>
Download (untitled) / with headers
text/plain 76.3k

Message body is not shown because it is too large.

RT-Send-CC: jkahrman [...] mathworks.com, perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 82.3k

Message body is not shown because it is too large.

RT-Send-CC: jkahrman [...] mathworks.com, perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 313b
Hello, I wanted to add to the ticket that this issue exists in Perl 5.30 as well. I walked through the same reproduction steps with Strawberry Perl v5.30.0 on my Windows host, and the result of displaying the value of the environment variable ‘FOOBAR’ is the same as seen on Perl 5.20. Regards, Raghuvir.
To: "perlbug-followup [...] perl.org" <perlbug-followup [...] perl.org>
Date: Tue, 9 Jul 2019 18:09:28 +0000
Subject: [perl #134278] Environment variables with Unicode (non-ASCII) values on Windows are not printed correctly by Perl
CC: Jay Kahrman <jkahrman [...] mathworks.com>
From: Raghuvir Leelasagar <rleelasa [...] mathworks.com>
Download (untitled) / with headers
text/plain 302b

Hello,

 

I wanted to add to the ticket, that the issue persists in Perl 5.30.

 

I walked through the same reproduction steps with Strawberry Perl v5.30.0 on my Windows host, and the result of displaying the value of the environment variable ‘FOOBAR’ is the same as seen on Perl 5.20.

 

Regards,

Raghuvir.

RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 559b
On Wed, 10 Jul 2019 21:29:09 -0700, rleelasa@mathworks.com wrote: Show quoted text
> Hello, > > I wanted to add to the ticket, that the issue persists in Perl 5.30. > > I walked through the same reproduction steps with Strawberry Perl > v5.30.0 on my Windows host, and the result of displaying the value of > the environment variable 'FOOBAR' is the same as seen on Perl 5.20.
In general perl uses the "ANSI" Win32 APIs, and loads the environment from the ANSI copy of the environment. There's a number of similar issues, put together it's very non-trivial to fix :( Tony


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org