)]}'
{
  "commit": "5b70246e83a0a8b1cb4ae0221767e3c0b69eddcf",
  "tree": "553d47ab73d56449a755dc2e694816da690857c7",
  "parents": [
    "3ed7ed57e2ba144933da37c19c7d93b89d39a90e"
  ],
  "author": {
    "name": "adgar",
    "email": "adgar@google.com",
    "time": "Wed Sep 30 13:30:18 2020 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Sep 30 13:31:15 2020 -0700"
  },
  "message": "File names reported as artifact names in BEP are encoded UTF-8.\n\nThe build tool has generally inconsistent support for preserving UTF-8 strings\nlargely due to the absence of UTF-8 support in BUILD files. Most artifact names\nin BEP do come from BUILD files where it is assumed UTF-8 identifiers do not\nappear. In the cases where artifact names are determined from file names, and the\nfile name is UTF-8, we may re-encode the generated artifact name as UTF-8 before\nadding it to a `named_set_of_files` BEP message.\n\nThis issue only leads to incorrect BEP on Unix-like systems due to our treatment\nof paths returned by Unix filesystem APIs - we always pass them to Java as\nwith a Latin-1 encoding. When UTF-8 bytes are in a Latin-1-encoding String and\nare passed to a protobuf string field, UTF-8 conversion is applied to UTF-8 bytes.\nThis does not happen on Windows because we do not produce Java strings with\nincorrect encodings.\n\nRELNOTES: None.\nPiperOrigin-RevId: 334667088\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "089216cf5b77db31293fedb20b0087dd141babeb",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/analysis/TargetCompleteEvent.java",
      "new_id": "8ff17f621207352b1fc59ec0a542a3f23de162f7",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/analysis/TargetCompleteEvent.java"
    },
    {
      "type": "modify",
      "old_id": "65d999e51a9183c153a12ceb2f5a1ce774512c48",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/analysis/TargetCompleteEventTest.java",
      "new_id": "af404a0ec65f5676edb4cafd78767427257cdada",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/analysis/TargetCompleteEventTest.java"
    },
    {
      "type": "modify",
      "old_id": "f41ddba0e0c80eaf95fb02225a906bd370b76e60",
      "old_mode": 33261,
      "old_path": "src/test/shell/bazel/unicode_filenames_test.sh",
      "new_id": "7e38cca62e2bac73eae7d9e53e8ec9b82cdb02d0",
      "new_mode": 33261,
      "new_path": "src/test/shell/bazel/unicode_filenames_test.sh"
    }
  ]
}
