about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2017-01-24 12:01:57 +0100
committerMikael Magnusson <mikachu@gmail.com>2017-01-24 16:22:39 +0100
commit0e33ebc6514c8719513f3f20161274f6af2caffc (patch)
tree232dc5fa220c16cefe77b0e93e26d29d0b15a31f /Test
parent3e5badb0c909d2b192552c2385dd1188e6efd36e (diff)
downloadzsh-0e33ebc6514c8719513f3f20161274f6af2caffc.tar.gz
zsh-0e33ebc6514c8719513f3f20161274f6af2caffc.tar.xz
zsh-0e33ebc6514c8719513f3f20161274f6af2caffc.zip
posted: Make D07 recognize more spellings of pl_PL.UTF-8
FreeBSD and probably others use this spelling in locale -a output, while
glibc uses the utf8 spelling.
Diffstat (limited to 'Test')
-rw-r--r--Test/D07multibyte.ztst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst
index d5a15ef04..0ff65c707 100644
--- a/Test/D07multibyte.ztst
+++ b/Test/D07multibyte.ztst
@@ -549,9 +549,9 @@
     "↓"
   }
   : $functions)
-0:Multibtye handling of functions parameter
+0:Multibyte handling of functions parameter
 
-  if [[ -n ${$(locale -a 2>/dev/null)[(R)pl_PL.utf8]} ]]; then
+  if [[ -n ${$(locale -a 2>/dev/null)[(R)pl_PL.(utf8|UTF-8)]} ]]; then
   (
     export LC_ALL=pl_PL.UTF-8
     local -a names=(a b c d e f $'\u0105' $'\u0107' $'\u0119')