Hello again. I found another bug with cyrillic usernames in zsh (again on Cygwin, but can be reproduced on Linux)
Tested on latest master:
1. Create user "Студент" (for example, via /etc/passwd editing)
2. Create /var/run/utmp file if it is missing (may be necessary on Cygwin)
3. Login into "Студент" (via login or ssh)
4. % zsh-5.9.0.1-dev -f
% watch=(all); log # (everything is ok)
root has logged on /proc/10045/fd/2 from .
Студент has logged on pts/29 from 127.0.0.1.
% watch=(notme); log # ("Студент" record is not filtered)
root has logged on /proc/10045/fd/2 from .
Студент has logged on pts/29 from 127.0.0.1.
% watch=(Студент); log # ("Студент" record is missing)
Sent via Gmail