With Visual Studio, adding the `resource.rc` file to the project should be enough.
With Visual Studio, adding the `resource.rc` file to the project should be enough.
2. To change the icon at runtime, raylib provides function `SetWindowIcon(Image image)`, just make sure that `image.format` is `PIXELFORMAT_UNCOMPRESSED_R8G8B8A8`, it's a requirement.
2. To change the icon at runtime, raylib provides function `SetWindowIcon(Image image)`, just make sure that `image.format` is `PIXELFORMAT_UNCOMPRESSED_R8G8B8A8`, it's a requirement.
## How I deal with UTF-16 strings?
raylib supports by default UTF-8 strings, actually, text drawing functions expect to receive UTF-8 strings as inputs but sometimes source text is provided as UTF-16. [Here it is a handy conversion library](https://gist.github.com/gulrak/2eda01eacebdb308787b639fa30958b3).