Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Status and future of Unicode support for argv, script paths, env?

0 views
Skip to first unread message

Oliver Betz

unread,
Jul 15, 2019, 2:30:03 AM7/15/19
to win32-...@perl.org
Hi all,

it seems that current Windows ports of Perl can't handle Unicode for
arguments (argv), script paths and environment.

A "simple" modification of perl.exe as proposed by A. Sinan Unur:
https://www.nu42.com/2017/02/perl-unicode-windows-trilogy-one.html
doesn't seem to solve the problems: Perl still can't run scripts with
special characters because it uses the ANSI functions, there are strings
encoded twice, reading environment variables doesn't use the environment
passed by perl.exe etc.

All this seems to be a lot of effort, it took many years in Python:
https://bugs.python.org/issue1602

Are there any plans to support Unicode in console arguments, environment
variables, script names... in Perl?

Oliver
0 new messages