)]}'
{
  "commit": "15f1a88dece664ae7300d9a60fe124cec1f2b9de",
  "tree": "a13d363deadc618c919ba6cbf2b7982511a7db7c",
  "parents": [
    "7e7e0b8379c4bdcf3e16cd2298afe49f03fefdfb"
  ],
  "author": {
    "name": "Ryan Harrison",
    "email": "rharrison@chromium.org",
    "time": "Wed Aug 22 20:50:14 2018 +0000"
  },
  "committer": {
    "name": "Chromium commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Wed Aug 22 20:50:14 2018 +0000"
  },
  "message": "Properly handle language markers in decoded text\n\nIn text like document title 0x001B is used as a marker for the\nbeginning/end of a language metadata section. Currently PDFium does\nnothing with this data, but when returning the \u0027decoded\u0027 text it needs\nto be stripped out.\n\nThe existing code assumed that the two bytes following a marker would\nbe the data to be removed and did nothing to track if it was in/out of\none of these regions. This led to a situation where it would always\nstrip the two bytes following the region, since it assumed the end\nmarker was the beginning of a new region.\n\nThis CL corrects the detection and handling of these regions, and adds\na regression test for the reported bug.\n\nBUG\u003dpdfium:182\n\nChange-Id: I92ddba5666274a8986fed03f502a0331f150f7ac\nReviewed-on: https://pdfium-review.googlesource.com/41070\nReviewed-by: Henrique Nakashima \u003chnakashima@chromium.org\u003e\nCommit-Queue: Ryan Harrison \u003crharrison@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "928d6501035196370cd28cbf560d2d6aadfd4962",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/parser/fpdf_parser_decode.cpp",
      "new_id": "063d21ae5fa9086b3002f8686f0277873eaa3b22",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/parser/fpdf_parser_decode.cpp"
    },
    {
      "type": "modify",
      "old_id": "a9eb4b8cb76524366a184d463a5028faa618316f",
      "old_mode": 33188,
      "old_path": "fpdfsdk/fpdf_doc_embeddertest.cpp",
      "new_id": "5c0223ee461ddcccfc9ac5b3e261fcb8a7ecccf8",
      "new_mode": 33188,
      "new_path": "fpdfsdk/fpdf_doc_embeddertest.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "bf35cc918ac34be8aaf604f980becb07ebe91067",
      "new_mode": 33188,
      "new_path": "testing/resources/bug_182.pdf"
    }
  ]
}
