ResotoClient: should use utf-8 encoding for cli commands
aquamatthias opened this issue · comments
Description
> search is(aws_beanstalk_application) and id=我的第一个 Elastic Beanstalk 应用程序
Error performing command: `search is(aws_beanstalk_application) and id=我的第一个 Elastic Beanstalk 应用程序`
Reason: 'latin-1' codec can't encode characters in position 44-48: Body ('我的第一个') is not valid Latin-1. Use body.encode('utf-8') if you want to send it encoded in UTF-8.
Version
2.4
Environment
pip
Steps to Reproduce
perform above command
Logs
No response
Additional Context
No response
Fixed via #1125