Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop doing actions.write UTF-8. This was causing a double encode.
Since Bazel reads BUILD and .bzl files as (essentially) raw bytes, any UTF-8 encoded input is essentially pre-UTF-8 encoded on the way out. Closes bazelbuild#10174 DO NOT SUBMIT: This is a breaking change, so it needs a migration path. Current idea: - introduce a new attribute to write 'encode_as_utf_8'. Default is gated by incompatible_write_action_encodes_as_utf_8. - for bazel we do the multi-release cycle flip - for google we agressively try to change the default - add encode_as_utf_8 to the few broken rules - flip the default - fix the user.
- Loading branch information