VS2019: How to resolve the “unknown sub-lang: 0x8” message in Resource View?

前端 未结 6 873
有刺的猬
有刺的猬 2021-01-12 19:06

I have recently started using Visual Studio 2019 for my C++11 project. VS2019 converted the project and it compiles into an executable. But I can\'t open my resource (.rc) f

6条回答
  •  独厮守ぢ
    2021-01-12 20:01

    Posting my solution for those that encounter similar issues.

    I found that the malfunctioning rc files had ANSI encoding. Converting them to UTF-8 did the trick. You can easily do that using Notepad++ via the [Encoding] menu option, select [Convert to UTF-8].

    What I don't understand is why VS doesn't fix this itself when converting a project.

提交回复
热议问题