Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

Commit f0bd746

Browse files
committed
Add LC env var.
(Avoid UTF8 issues)
1 parent 1ed3e0c commit f0bd746

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

HACKING

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ To get a per-synopsis summary, run:
7070
This requires a ./perl6 script containing:
7171

7272
#!/bin/sh
73-
PUGS_USE_EXTERNAL_TEST=1 ./Pugs/pugs -IPugs/ext/Test/lib $*
73+
LC_ALL=en_US.ISO-8859-1 PUGS_USE_EXTERNAL_TEST=1 ./Pugs/pugs -IPugs/ext/Test/lib $*

t/fudgeandrun

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ if (@ARGV) {
1616

1717
my $nt = `t/spec/fudge @OPTS @ARGV`;
1818
$ENV{PUGS_USE_EXTERNAL_TEST}=1;
19+
$ENV{LC_ALL}="en_US.ISO-8859-1";
1920
system("./Pugs/pugs", "-IPugs/ext/Test/lib", split ' ', $nt);

t/update_passing_test_data.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ =head1 DESCRIPTION
4141
my @wanted;
4242

4343
$ENV{PUGS_USE_EXTERNAL_TEST}=1;
44+
$ENV{LC_ALL} = "en_US.ISO-8859-1";
4445

4546
find({ wanted => \&queue, no_chdir => 1 }, 't/spec/');
4647

0 commit comments

Comments
 (0)