mirror of
https://github.com/zsh-users/zsh
synced 2024-07-21 10:14:19 +00:00
Paul Ackersviller: 26883: naming of UTF8 locales on HPUX
This commit is contained in:
parent
7e304940e5
commit
f91d89ccf8
|
@ -1,3 +1,8 @@
|
|||
2009-04-26 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* Paul Ackersviller: 26883: Test/D07multibyte.ztst: naming of
|
||||
UTF8 locales is different in HPUX.
|
||||
|
||||
2009-04-25 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* unposted, see 26880: Functions/Misc/run-help: back off 26862.
|
||||
|
@ -11624,5 +11629,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.4669 $
|
||||
* $Revision: 1.4670 $
|
||||
*****************************************************
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
# Don't let LC_* override our choice of locale.
|
||||
unset -m LC_\*
|
||||
mb_ok=
|
||||
langs=(en_US.UTF-8 en_GB.UTF-8 en.UTF-8
|
||||
$(locale -a 2>/dev/null | sed -e 's/utf8/UTF-8/' | grep UTF-8))
|
||||
langs=(en_{US,GB}.{UTF-,utf}8 en.UTF-8
|
||||
$(locale -a 2>/dev/null | egrep 'utf8|UTF-8'))
|
||||
for LANG in $langs; do
|
||||
if [[ é = ? ]]; then
|
||||
mb_ok=1
|
||||
|
|
Loading…
Reference in a new issue