Fix shortcut for detection of locale encoding

- use a default (defined) value for locale environment
- relax regexp for UTF-8 matching
Inline the user mark definition in @PS1