Skip to content

Conversation

zhindes
Copy link
Collaborator

@zhindes zhindes commented Oct 10, 2024

What does this Pull Request accomplish?

Fall back to "ascii" encoding if the locale isn't set (and we aren't using utf8 APIs)

Why should this Pull Request be merged?

Closes #641

What testing has been done?

$ poetry run pytest -k internationalization

@zhindes zhindes changed the title return ascii encoding when locale is not set Use ascii encoding when locale is not set Oct 10, 2024
Copy link
Contributor

github-actions bot commented Oct 10, 2024

Test Results

0 files   -     34  0 suites   - 34   0s ⏱️ - 51m 19s
0 tests  -  2 348  0 ✅  -  1 994  0 💤  -   354  0 ❌ ±0 
0 runs   - 42 272  0 ✅  - 36 020  0 💤  - 6 252  0 ❌ ±0 

Results for commit 62a3cc0. ± Comparison against base commit 12ef705.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@bkeryan bkeryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with suggestions

@zhindes zhindes enabled auto-merge (squash) October 14, 2024 15:43
@zhindes zhindes merged commit 41cb6ba into master Oct 14, 2024
14 checks passed
@zhindes zhindes deleted the users/zhindes/encoding_fix branch October 14, 2024 15:51
WayneDroid pushed a commit that referenced this pull request Nov 5, 2024
* return ascii encoding when locale is not set
WayneDroid added a commit that referenced this pull request Nov 6, 2024
* return ascii encoding when locale is not set

Co-authored-by: Zach Hindes <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No devices found

2 participants