[all-commits] [llvm/llvm-project] f38554: [Tooling/Inclusion] Modify the Python script to op...

c8ef via All-commits all-commits at lists.llvm.org
Mon Dec 30 17:28:55 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f385542f62fa1f57001c95c476165e1618cb54ba
      https://github.com/llvm/llvm-project/commit/f385542f62fa1f57001c95c476165e1618cb54ba
  Author: c8ef <c8ef at outlook.com>
  Date:   2024-12-31 (Tue, 31 Dec 2024)

  Changed paths:
    M clang/tools/include-mapping/cppreference_parser.py

  Log Message:
  -----------
  [Tooling/Inclusion] Modify the Python script to open the C++ reference with UTF-8 encoding. (#121341)

This will prevent the error on systems with a default encoding other
than utf-8.

```
UnicodeDecodeError: 'gbk' codec can't decode byte 0xb6 in position 12958: illegal multibyte sequence
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list