)]}'
{
  "commit": "43c658ff0cf2bf0b407a563b0de2a36d55e2d5df",
  "tree": "3e137edcd3fa93e3aa82b3e1a4426fa6a4b8da45",
  "parents": [
    "0a4433b3c9ddb1fd6b606e763624cc759af19811"
  ],
  "author": {
    "name": "Eli Zaretskii",
    "email": "eliz@gnu.org",
    "time": "Thu Jan 22 13:03:13 2026 +0200"
  },
  "committer": {
    "name": "Eli Zaretskii",
    "email": "eliz@gnu.org",
    "time": "Thu Jan 22 13:03:13 2026 +0200"
  },
  "message": "gdb: Support UTF-8 output on MS-Windows terminal\n\nThis detects when the Windows Terminal uses codepage 65001\n(a.k.a. \"UTF-8\") for output, and sets the default host\ncharset to UTF-8 in that case.  It also enables Emoji\nstyling, as the Windows terminal supports it in that case.\n\n\t* gdb/charset.c (INIT_GDB_FILE) [USE_WIN32API]: If the Windows\n\tconsole uses codepage 65001, set default host charset to UTF-8, and\n\tswitch to the \"C\" locale, to prevent Windows from interpreting UTF-8\n\tsequences written to the console.\n\t* gdb/mingw-hdep.c (windows_initialize_console): Don\u0027t disable Emoji\n\there...\n\t* gdb/charset.c (INIT_GDB_FILE) [USE_WIN32API]: ...disable them here\n\tinstead, and only if the console doesn\u0027t use UTF-8.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7c6cd938c324cf46b01f7d8af34020feb1fb7aa6",
      "old_mode": 33188,
      "old_path": "gdb/charset.c",
      "new_id": "eaddfb57098598fcbb9d68a5ed34346abc72b2a8",
      "new_mode": 33188,
      "new_path": "gdb/charset.c"
    },
    {
      "type": "modify",
      "old_id": "6cfab83b8962b54e9003c3a2454987f0226be6d0",
      "old_mode": 33188,
      "old_path": "gdb/charset.h",
      "new_id": "431590f5000181a92b879bfa6870f7a9b4c196bc",
      "new_mode": 33188,
      "new_path": "gdb/charset.h"
    },
    {
      "type": "modify",
      "old_id": "1fad256bc42c742117f08744c4c672a37f540bdb",
      "old_mode": 33188,
      "old_path": "gdb/mingw-hdep.c",
      "new_id": "efad50c4cbeb4d8bb955d474fb9841ecb2a957de",
      "new_mode": 33188,
      "new_path": "gdb/mingw-hdep.c"
    }
  ]
}
