Commit 597f346
committed
mark -s switches as UTF-8 with -CA
-CA (also known as PERL_UNICODE=A) tells perl to assume the command-line
arguments to be UTF-8. This did not apply to the global variables
implicitly created by -s, however, only to the elements of @argv.
Logically speaking it does not make sense to have half a command line
treated as UTF-8, so this patch makes -CA apply to everything.
Fixes Perl#23377.1 parent a53b949 commit 597f346
2 files changed
+38
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4698 | 4698 | | |
4699 | 4699 | | |
4700 | 4700 | | |
| 4701 | + | |
| 4702 | + | |
| 4703 | + | |
| 4704 | + | |
4701 | 4705 | | |
4702 | 4706 | | |
| 4707 | + | |
4703 | 4708 | | |
4704 | 4709 | | |
4705 | 4710 | | |
| |||
4710 | 4715 | | |
4711 | 4716 | | |
4712 | 4717 | | |
4713 | | - | |
4714 | | - | |
| 4718 | + | |
| 4719 | + | |
| 4720 | + | |
| 4721 | + | |
| 4722 | + | |
| 4723 | + | |
| 4724 | + | |
4715 | 4725 | | |
4716 | 4726 | | |
4717 | | - | |
| 4727 | + | |
4718 | 4728 | | |
4719 | 4729 | | |
4720 | 4730 | | |
| |||
4724 | 4734 | | |
4725 | 4735 | | |
4726 | 4736 | | |
4727 | | - | |
4728 | | - | |
4729 | | - | |
4730 | | - | |
| 4737 | + | |
| 4738 | + | |
4731 | 4739 | | |
4732 | | - | |
| 4740 | + | |
4733 | 4741 | | |
4734 | 4742 | | |
4735 | 4743 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
158 | 180 | | |
159 | 181 | | |
160 | 182 | | |
| |||
0 commit comments