zsh-workers
 help / color / mirror / code / Atom feed
* UTF-8 locales on BSDs do not support collation correctly
@ 2017-01-25 14:27 Jun T.
  2017-01-25 18:02 ` Mikael Magnusson
  2017-01-30  3:59 ` Bart Schaefer
  0 siblings, 2 replies; 13+ messages in thread
From: Jun T. @ 2017-01-25 14:27 UTC (permalink / raw)
  To: zsh-workers

After the commit:

commit 0e33ebc6514c8719513f3f20161274f6af2caffc
Author: Mikael Magnusson <mikachu@gmail.com>
Date:   Tue Jan 24 12:01:57 2017 +0100

    posted: Make D07 recognize more spellings of pl_PL.UTF-8

diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst
(snip) 
-  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


the test D07multibyte.ztst fails on macOS and freeBSD.
On these OSs (and maybe on other BSDs), the locale pl_PL.UTF-8 exists
but it does not support collation correctly (it just uses ASCII collation).

Are there any OS which uses UTF-8 (instead of utf8) for locale name
and supports the collation correctly?


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-01-31 11:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-25 14:27 UTF-8 locales on BSDs do not support collation correctly Jun T.
2017-01-25 18:02 ` Mikael Magnusson
2017-01-26 17:57   ` Peter Stephenson
2017-01-26 19:30     ` Jens Elkner
2017-01-27  9:41     ` Peter Stephenson
2017-01-28 20:26       ` Bart Schaefer
2017-01-28 20:42         ` Peter Stephenson
2017-01-28 23:27           ` Bart Schaefer
2017-01-30 10:46             ` Peter Stephenson
2017-01-30  3:59 ` Bart Schaefer
2017-01-30  9:49   ` Peter Stephenson
2017-01-31 10:09   ` Jun T.
2017-01-31 11:19     ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).