Skip to content

Comments

Unit test for string containing multi-byte UTF-8 #6586#6587

Merged
sigmavirus24 merged 1 commit intopsf:mainfrom
bruceadams:test_content_length_for_string_data_counts_bytes
Feb 23, 2024
Merged

Unit test for string containing multi-byte UTF-8 #6586#6587
sigmavirus24 merged 1 commit intopsf:mainfrom
bruceadams:test_content_length_for_string_data_counts_bytes

Conversation

@bruceadams
Copy link
Contributor

There are two tests here. One demonstrating existing, correct behavior for data=bytes, and another, failing, test for the case where data=string and the string contains multi-byte UTF-8.

There are two tests here. One demonstrating existing, correct
behavior for `data=bytes`, and another, failing, test for the case
where `data=string` and the string contains multi-byte UTF-8.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants