Skip to content

Fix String misencoding in event and terminal printing - #30648

Open
fmeum wants to merge 1 commit into
bazelbuild:masterfrom
fmeum:fix-unicode
Open

Fix String misencoding in event and terminal printing#30648
fmeum wants to merge 1 commit into
bazelbuild:masterfrom
fmeum:fix-unicode

Conversation

@fmeum

@fmeum fmeum commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Description

The new warning supressions masked real encoding issues that could be reached via Event messages.

Fix all of them by enforcing the internal string encoding. Update the tests to verify the correct handling of Bazel's internal encoding rather than UTF-8, which isn't used in prod.

Motivation

d4cd8d9

Build API Changes

No

Checklist

  • I have added tests for the new use cases (if any).
  • I have updated the documentation (if applicable).

Release Notes

RELNOTES: None

@fmeum
fmeum requested a review from meisterT August 10, 2026 10:51
@github-actions github-actions Bot added team-Core Skyframe, bazel query, BEP, options parsing, bazelrc awaiting-review PR is awaiting review from an assigned reviewer labels Aug 10, 2026
The new warning supressions masked real encoding issues that could be reached via `Event` messages. Fix all of them by enforcing the internal string encoding.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-review PR is awaiting review from an assigned reviewer team-Core Skyframe, bazel query, BEP, options parsing, bazelrc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant