Re: [PATCH] multibyte_identifiers: opt-in UTF-8 variable names (UAX #31 + NFC) behind a root-controlled system switch

Félix Hauri via Bug reports for the GNU Bourne Again SHell <[email protected]>
Newsgroups gmane.comp.shells.bash.bugs
Message-ID <[email protected]>
Le Mon, Aug 03, 2026 at 11:18:23PM +0000, Ruben.Vanlus via Bug reports for the GNU Bourne Again SHell a écrit :
> variable name (Σ=“<value>”) was rejected...
> That’s why I’ve now decided to run ZSH as the shell ...

So you use `Greek Capital Sigma' as variable name, but...

  zsh  < <(
    allSigma=();
    for sigma in \\U{3a3,1D{6BA,6f4,72e,768,7a2}};do
        printf -v sigma '%b'  $sigma
        printf '%s=%d\n' $sigma $RANDOM
        allSigma+=($sigma)
    done
    echo "set -x"
    echo "typeset ${allSigma[*]}"
  )
  +zsh:8> typeset Σ 𝚺 𝛴 𝜮 𝝨 𝞢
  Σ=17386
  𝚺=16302
  𝛴=8122
  𝜮=20774
  𝝨=1189
  𝞢=22274

which one?

-- 
 Félix Hauri  -  <[email protected]>  -  http://www.f-hauri.ch
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.