nigels-com / glew

The OpenGL Extension Wrangler Library
Other
2.58k stars 609 forks source link

Fixed failing build on Windows when using LLVM due to non-ASCII codepoint for copyright symbol #354

Closed glektarssza closed 2 years ago

glektarssza commented 2 years ago

Context

While attempting to build GLEW on Windows 11 using Clang and CMake I ran into a strange issue. The build would fail on trying to compile any RC file using llvm-rc with the error Non-ASCII 8-bit codepoint (�) can't be interpreted in the current codepage. After looking around in my editor with it set to UTF-8 mode I spotted a symbol that wasn't showing up right. Comparing it to the GitHub representation I realized it was the copyright symbol.

This PR changes the non-ASCII codepoint for the copyright symbol in all three RC files to (C) as used elsewhere in the same files.

nigels-com commented 2 years ago

Weird! Alright then...