Sure:
$ python -c "from bzrlib import osutils; print osutils.get_user_encoding(), osutils.get_terminal_encoding()" UTF-8 UTF-8
Sure:
$ python -c "from bzrlib import osutils; print osutils. get_user_ encoding( ), osutils. get_terminal_ encoding( )"
UTF-8 UTF-8