Quoting mksh.1 under 'typeset': > -l Lower case attribute. All upper case characters in values are > converted to lower case. > -u Upper case attribute. All lower case characters in values are > converted to upper case.
This description doesn't match mksh's actual behaviour. Only ASCII characters are converted. The rest is left alone (even if 'set -U' is activated in a UTF-8 locale). Either this should be fixed, or the man page should document this limitation. Thanks, - M.