diff options
Diffstat (limited to 'Test/D07multibyte.ztst')
-rw-r--r-- | Test/D07multibyte.ztst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst index e20315340..989f45183 100644 --- a/Test/D07multibyte.ztst +++ b/Test/D07multibyte.ztst @@ -585,3 +585,17 @@ >OK F:A failure here may indicate the system regex library does not F:support character sets outside the portable 7-bit range. + + ( + locale=$LANG + unset -m 'LC_*|LANG' + export LC_CTYPE=$locale + echo '\u276F' # this works + () { + local LC_ALL=C + } + echo '\u276F' # this doesn't work + ) +0:locale gets restored when locale parameters go out of scope (regression test for 45772) +>❯ +>❯ |