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

    <tr>
        <th>Summary</th>
        <td>
            llvm-rc ignores pragma code_page
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

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

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

<pre>
    RC file, encoded as UTF-8 no BOM:

```
#include "winres.h"
#include "verrsrc.h"

#pragma code_page(65001)

LANGUAGE LANG_ARABIC, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
        1       "バナナ"
END
```

command line:

```
>rc test.rc
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Copyright (C) Microsoft Corporation.  All rights reserved.


>llvm-rc test.rc
llvm-rc: Error in STRINGTABLE statement (ID 1):
Non-ASCII 8-bit codepoint (π) can't be interpreted in the current codepage
```

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyEk9FuqzgQhp_G3IyCjA0ELrgghESR2qyUJruXlYEJ8QpsZJtW3adfQcJpT1XpSMiMxzO_P35jYa1sFWJGog2Jtp4Y3U2bTIle_Ge1V-nmIzsVcJUdElYAqlo32ICwcDnvVgkoDZu_ngnPCd0SuowxfTz3KeNS1d3YIBDG3qUyaP0bYeyn5Tc0xpr66_pSNRjR9gImgtdBtEhYEkeUBoSlXyuf8uP-ku9LmILX_JRvDsXE_nLZzJljeTmf8qd78cv5dDjuz_nmqbwnNuX-cFzk0oDQdAIpOUk4SekjSPLPYMEsj9ufv34ea933QjXQSYV_cIuXpgaH1vmmvqeeZW201VcHhCUnwlL4R6pGv9tf8xNaPZoaodD9IDs08DcaK7WCgPrUDygNAj-IeRLeFQs9fBjZ3mbFYlL43KPQZtBGOKmVD5B3HcyVFgxaNG_Y-L_RL9Bd99avvpM_koTnUBqjDUgFXywH64TDHtXMcdjCfJaLPUetVvlLcThAsqqkmw9-0PJeTIodSehEXgtF2NpBhSCVQzMYdNhMO7kbQj0aM-nPzdNP85PnXpPxJuWp8DAL4mTNecgC7t2y6sqiOKCsCnkdVk3ME8GSddoE13DdsJB6MmOUcRqzgK6jOOJ-wCOaVkFVp3ETR40gIcVeyM6frPC1aT1p7YhZzEMWe52osLPL5TPZ7Fc1tpaEtJPW2c82J12H2eKybJU2aOH7nfBG02U35wY72ch2hO1a6W5j5de6J2w39T9eq8Hof7F2hO1mJEvYbqb6PwAA___jKS0l">