From 0e33ebc6514c8719513f3f20161274f6af2caffc Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Tue, 24 Jan 2017 12:01:57 +0100 Subject: 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. --- Test/D07multibyte.ztst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Test') 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') -- cgit 1.4.1