Skip to content

push_commits: escape UTF-8 surrogates on errors when showing contents (bug 2023513)#17

Merged
shtrom merged 2 commits intomainfrom
bug2023513/unicode-encoding
Mar 17, 2026
Merged

push_commits: escape UTF-8 surrogates on errors when showing contents (bug 2023513)#17
shtrom merged 2 commits intomainfrom
bug2023513/unicode-encoding

Conversation

@shtrom
Copy link
Copy Markdown
Member

@shtrom shtrom commented Mar 17, 2026

No description provided.

@shtrom shtrom requested a review from cgsheeh March 17, 2026 00:29
@shtrom
Copy link
Copy Markdown
Member Author

shtrom commented Mar 17, 2026

Seems to do the trick!

2026-03-17T11:26:35,680881799+11:00

@shtrom shtrom force-pushed the bug2023513/unicode-encoding branch from 90726f0 to 916e702 Compare March 17, 2026 00:31
Comment thread tests/test_click.py Outdated
create_commit: Callable,
mock_get_repo_info: mock.Mock,
mock_submit_to_lando: mock.Mock,
commit_data: str,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nit: technically this is bytes | str.

Comment thread tests/test_click.py Outdated
@shtrom shtrom merged commit 18b9cf8 into main Mar 17, 2026
6 checks passed
@shtrom shtrom deleted the bug2023513/unicode-encoding branch March 17, 2026 01:47
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.

2 participants