<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/126355>126355</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Lots of warning and errors generated when building with cmake using MSVC compilers on Windows (Simplified Chinese version)
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          quanzhuo
      </td>
    </tr>
</table>

<pre>
    When I build `llvm-project` on Windows (Simplified Chinese version) using CMake and select the MSVC compiler, a large number of warning messages appeas:`
The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss`,
errors:
`Error  C2001   newline in constant     D:\repos\llvm-project\llvm\out\build\x64-Debug\llvm     D:\repos\llvm-project\clang-tools-extra\clangd\CodeComplete.h   86`


</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUk0-P0zwQxj-Ncxm1cp0_mxxy6Jt9KyGxpwJ7ntjTxODYwXbahU-P7LLAnhCnaJLHk2fm-RlD0JMl6ln9H6sfC9zi7Hz_dUP7fd5cMTr1rX-eycI7GDdtFLCGG3Nddqt3n0lG1nBwFp61Ve4WgIn2rJfV6IsmBcOsLQWCK_mgnWWigy1oO8HwhF8I0CoIZEhGiDPB0_nTANItqzbkmRgAwaCfCOy2jOTBXeCG3qbzC4WAEwXAdSUMrDyyhjN-_DATXLQhkM5G1DYAgpzRo4zkIc4YQaK1LsJI4Gn1FMhGUqBttiA378lGkE4RrDhRGqgrGya6PZzxSlmV_6AtfLQ6Cy_OLxghOlg9XdN5hRHBuBCSLTEwfiTvnc9GefL6fyoZ7wbB-YHxztLNaJu7SmdDRBsZ7x6Tvh48rS6weniz93vJ6sFtqcjhsHp4aardI43b9Cr4Wxdp0E676JwJO3qJHl_fpW6DUzS4ZTUUaT8z3rXNfdGMHwvVl6orOyyoPzyUHedplmLua1WOQjSVQmpkXVVCqsPYPtRSCClbkoXuBRc1F7zlLW-qw74TF7rw9kGWIzYN1azitKA2--R17_xU6BA26g-iKeu6MDiSCRlZISzdIH9lQiSCfZ8HHLcpsIobHWL43SbqaKh_72L4k6bE4T0fmMiSx0TELUGft5okNx1nkEui9k7wG1jDv1yBYvOmn2NcMw3ixMRp0nHexr10CxOnnNr98SsmccojBiZOP3dw7cWPAAAA___Tej2s">