### Summary

Add preflight checks to `lib/ansible/cli/__init__.py` for both the local locale and the fsencoding to ensure they are `UTF-8`, and abort when they are not.

We implicitly require this now, but have never strictly enforced it. Due to using `pathlib` in more places, to avoid undefined behavior in our codebase, due to the utf-8 expectation, check this early and fail fast.

### Issue Type

Feature Idea

### Component Name
```
lib/ansible/cli/__init__.py
```
### Additional Information

We may also need to evaluate the `C` locale.  I know some users are running ansible from devices with only the `C` locale.

### Code of Conduct

- [X] I agree to follow the Ansible Code of Conduct
if not stderr:
                fileobj = sys.stdout
            else:
                fileobj = sys.stderr
            with self._lock:
                fileobj.write(msg2)
            
            
            
            
            
            
            
            
            
            
            
            
        if logger and not screen_only:
            
            
            msg2 = to_bytes(nocolor.lstrip(u'\n'))
            
            msg2 = to_text(msg2, self._output_encoding(stderr=stderr))
            lvl = logging.INFO
            if color:
                
                try:
                    lvl = color_to_log_level[color]
                except KeyError: