Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug when $USERNAME is cyryllic



Everything works now, thanks!

вс, 1 окт. 2023 г., 23:35 Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>:
On Sun, Oct 1, 2023 at 11:55 AM Максим <herobrine135111@xxxxxxxxx> wrote:
>
>     env -i LANG=C =zsh-5.9.0.1-dev -fc 'cd; echo "$USERNAME | ${(%):-%n} | $LOGNAME"'
>
> Now results in:
>
>     Студент | Студент | Ѓ�ту�дент

This should fix that.

Aside, my recollection was wrong:  It's tokenize() that appears
harmless to apply more than once, not metafy().


Messages sorted by: Reverse Date, Date, Thread, Author