Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: Make D07 recognize more spellings of pl_PL.UTF-8
- X-seq: zsh-workers 40424
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: Make D07 recognize more spellings of pl_PL.UTF-8
- Date: Tue, 24 Jan 2017 12:03:15 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=/fkz1vndyR539BgOC/75SHLoiDv/Vjofa32zPI91kSs=; b=qJ5yew2I7onNFKuVTVRu4ZE3DECEhd9tam8vjD7rjA4irMdwlFkxoZvOT81RWkASBp aOOx67N5LqLg5Nl9LwkK2uhs85llv+r4bR5lvgYxC++89UGZFln7bb+37H98IeV0vfvu LbKR+92jqmuegpJWMQmShRoaGjLKUos1qVLYqVVJSZ/JVXG5gzgTP9Wb1cWlj+MtW3ec HFoxqeNBARmw1AuDVeaPVVAbgOkb7ns8wAVu/22anNOqPxsCIY7FZJoBiCBMsEITB070 zYfA6eHHmZRrDx9cPev7VYUCqcVel+UaW/rHhCWOW8BJevP4+qPoq9XSyAp3rPDctF/r oQwA==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
On at least OpenBSD 5.8, locale -a lists it as pl_PL.UTF-8 instead of
pl_PL.utf8 as glibc does.
---
Test/D07multibyte.ztst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst
index d5a15ef048..bd7df81775 100644
--- a/Test/D07multibyte.ztst
+++ b/Test/D07multibyte.ztst
@@ -551,7 +551,7 @@
: $functions)
0:Multibtye 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')
--
2.8.2
Messages sorted by:
Reverse Date,
Date,
Thread,
Author