Error on non-latin console

Console,  latin characters
```bash
type rsync
> rsync is /usr/bin/rsync
```

Console, cyrillic characters
```bash
type rsync
> rsync является /usr/bin/rsync
```
and «ascii» unicode error here.


Solution:
utf-8 decode, new regex

nonexistent command, for example
```bash
type rsyncs

# Cyrillic
bash: type: rsyncs: не найден
# Latin
-bash: type: rsyncs: not found
```