public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* zh_HK.big5 locale
@ 2018-02-10  1:48 Steven Penny
  2018-02-10  2:59 ` Brian Inglis
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Penny @ 2018-02-10  1:48 UTC (permalink / raw)
  To: cygwin

I see that the "zh_HK" locale and friends exist:

    $ locale -a | grep zh_HK
    zh_HK
    zh_HK.utf8
    zh_HK@cjknarrow
    zh_HK.utf8@cjknarrow

However I am not seeing the "zh_HK.big5" or "zh_HK.big5hkscs" variants.
Installing "gettext" adds these:

    bokmal catalan croatian czech danish dansk deutsch dutch eesti estonian
    finnish french galego galician german greek hebrew hrvatski hungarian
    icelandic italian ja_JP ja_JP.ujis japanese japanese.euc japanese.sjis
    ko_KR korean korean.euc lithuanian no_NO no_NO.ISO-8859-1 norwegian nynorsk
    polish portuguese romanian russian slovak slovene slovenian spanish swedish
    thai turkish

but not the desired locales. These are available with Fedora [1], but at appears
that at least previously [2] these were not supported by Windows. I am just
wondering if these locales are still not supported by Windows.

[1] http://unix.stackexchange.com/a/422171
[2] http://cygwin.com/ml/cygwin-developers/2010-02/msg00024.html


--
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

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

* Re: zh_HK.big5 locale
  2018-02-10  1:48 zh_HK.big5 locale Steven Penny
@ 2018-02-10  2:59 ` Brian Inglis
  2018-02-10  4:41   ` Steven Penny
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Inglis @ 2018-02-10  2:59 UTC (permalink / raw)
  To: cygwin

On 2018-02-09 18:48, Steven Penny wrote:
> I see that the "zh_HK" locale and friends exist:
> 
>    $ locale -a | grep zh_HK
>    zh_HK
>    zh_HK.utf8
>    zh_HK@cjknarrow
>    zh_HK.utf8@cjknarrow
> 
> However I am not seeing the "zh_HK.big5" or "zh_HK.big5hkscs" variants.
> Installing "gettext" adds these:
> 
>    bokmal catalan croatian czech danish dansk deutsch dutch eesti estonian
>    finnish french galego galician german greek hebrew hrvatski hungarian
>    icelandic italian ja_JP ja_JP.ujis japanese japanese.euc japanese.sjis
>    ko_KR korean korean.euc lithuanian no_NO no_NO.ISO-8859-1 norwegian nynorsk
>    polish portuguese romanian russian slovak slovene slovenian spanish swedish
>    thai turkish
> 
> but not the desired locales. These are available with Fedora [1], but at appears
> that at least previously [2] these were not supported by Windows. I am just
> wondering if these locales are still not supported by Windows.
> 
> [1] http://unix.stackexchange.com/a/422171
> [2] http://cygwin.com/ml/cygwin-developers/2010-02/msg00024.html

It appears to be the default for territories using zh [paths genericized]:

$ locale -m
...
BIG5
...
$ locale -av
...

locale: zh_HK           archive: /proc/cygdrive/c/WINDOWS/System32/KERNEL32.DLL
-------------------------------------------------------------------------------
 language | Chinese (Traditional)
territory | Hong Kong SAR
  codeset | BIG5

...

locale: zh_HK@cjknarrow archive: /proc/cygdrive/c/WINDOWS/System32/KERNEL32.DLL
-------------------------------------------------------------------------------
 language | Chinese (Traditional)
territory | Hong Kong SAR
  codeset | BIG5

...
etc.

-- 
-- 
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

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

* Re: zh_HK.big5 locale
  2018-02-10  2:59 ` Brian Inglis
@ 2018-02-10  4:41   ` Steven Penny
  0 siblings, 0 replies; 3+ messages in thread
From: Steven Penny @ 2018-02-10  4:41 UTC (permalink / raw)
  To: cygwin

On Fri, 9 Feb 2018 19:59:26, Brian Inglis wrote:
> $ locale -av
> ...
> 
> locale: zh_HK           archive: /proc/cygdrive/c/WINDOWS/System32/KERNEL32.DLL
> -------------------------------------------------------------------------------
>  language | Chinese (Traditional)
> territory | Hong Kong SAR
>   codeset | BIG5

Actually you are right - thanks - for the purpose of my testing - zh_HK does
work:

    $ LC_ALL=zh_HK awk 'BEGIN {print "\243" ~ /[^[:alpha:]]/}'
    1

    $ awk 'BEGIN {print "\243" ~ /[^[:alpha:]]/}'
    0

thanks again


--
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

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

end of thread, other threads:[~2018-02-10  4:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-10  1:48 zh_HK.big5 locale Steven Penny
2018-02-10  2:59 ` Brian Inglis
2018-02-10  4:41   ` Steven Penny

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).