public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@Shaw.ca>
To: cygwin@cygwin.com
Subject: Re: duplication in locale output ja_JP
Date: Tue, 20 Jun 2017 22:16:00 -0000	[thread overview]
Message-ID: <b361ed3f-af06-a9c1-d785-783a57999d51@Shaw.ca> (raw)
In-Reply-To: <232e5654-de77-ad30-30b1-acec483b7323@gmail.com>

On 2017-06-20 14:50, Marco Atzeri wrote:
> I don't know if it is a bug or just a curiosity.
> $ uname -svr
> CYGWIN_NT-6.1 2.8.1(0.310/5/3)
> it seems there are two equal entry for ja_JP
> and it is the only one with repetition
> $ locale -a |grep -i "ja"
> ja_JP
> ja_JP
> ja_JP.utf8
> ja_JP.ujis
> ja_JP@cjknarrow
> ja_JP.utf8@cjknarrow
> japanese
> japanese.euc
> japanese.sjis
> $ locale -a | uniq -d
> ja_JP

Looks like the ja_JP locale.alias entry is redundant when a Windows
entry also exists:

$ cmd /c ver
Microsoft Windows [Version 10.0.14393]
$ uname -svrmo
CYGWIN_NT-10.0 2.8.0(0.309/5/3) 2017-04-01 20:47 x86_64 Cygwin
$ locale --version
locale (cygwin) 2.8.0
$ locale -av | fgrep ja_JP
locale: ja_JP           archive: /usr/share/locale/locale.alias
locale: ja_JP           archive: /cygdrive/c/WINDOWS/System32/KERNEL32.DLL
locale: ja_JP.utf8      archive: /cygdrive/c/WINDOWS/System32/KERNEL32.DLL
locale: ja_JP.ujis      archive: /usr/share/locale/locale.alias
locale: ja_JP@cjknarrow archive: /cygdrive/c/WINDOWS/System32/KERNEL32.DLL
locale: ja_JP.utf8@cjknarrow archive:
/cygdrive/c/WINDOWS/System32/KERNEL32.DLL
$ fgrep ja_JP /usr/share/locale/locale.alias
japanese        ja_JP.eucJP
japanese.euc    ja_JP.eucJP
ja_JP           ja_JP.eucJP
ja_JP.ujis      ja_JP.eucJP
japanese.sjis   ja_JP.SJIS

Same results on Cygwin32.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  parent reply	other threads:[~2017-06-20 22:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-20 20:51 duplication in locale output Marco Atzeri
2017-06-20 22:16 ` duplication in locale output ja_JP Brian Inglis
2017-06-21  7:53   ` Corinna Vinschen
2017-06-20 22:16 ` Brian Inglis [this message]
2017-06-21  5:09   ` Marco Atzeri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b361ed3f-af06-a9c1-d785-783a57999d51@Shaw.ca \
    --to=brian.inglis@shaw.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).