-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnicodeEncodeError: 'latin-1' codec can't encode chinese #3
Comments
@debugtalk can you hava a look at this question,thx |
The testcases are genereated by postman2case, and I find the solution by update core.py in postman2case.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when the request contains chinese, I got the error massege as following. how can I fix it?
Traceback (most recent call last):
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 17-18: Body ('上海') is not valid Latin-1. Use body.encode('utf-8') if you want to send it encoded in UTF-8.
Ran 1 test in 0.004s
The text was updated successfully, but these errors were encountered: