mxre / winres

Create and set windows icons and metadata for executables with a rust build script
MIT License
294 stars 42 forks source link

Do not escape chars as unicode #20

Closed 999eagle closed 5 years ago

999eagle commented 5 years ago

This PR changes the escape_string function to not escape higher characters. Previously, a copyright symbol © would be written as \u{a9} in the rc file, which the compiler didn't understand as escape sequence. With these changes, characters above 0x7e will not be escaped as unicode but instead written to the rc file as-is.

mxre commented 5 years ago

That's on me didn't test #12 sufficiently.