mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-25 17:20:25 +02:00
45764: Add a regression test for 45772. Test by Roman
This commit is contained in:
parent
c486040220
commit
ab835f0c37
2 changed files with 19 additions and 0 deletions
|
|
@ -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)
|
||||
>❯
|
||||
>❯
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue