Re: [CMake] Convert UTF8 to UTF16 (Windows)

2016-08-29 Thread tonka tonka
Nicholas, you are right. My mistake was that i've used utf8 with BOM, but visual studio only likes without BOM. Thx Am 29.08.2016 09:47 schrieb "Nicholas Braden" : > Are you sure about this UTF16 requirement? I have many projects > ranging from Visual Studio 2008 to

Re: [CMake] Convert UTF8 to UTF16 (Windows)

2016-08-29 Thread Wolf
On , tonka tonka wrote: > I have a little problem with files which has to be UTF 16 instead of UTF 8, > f.e. Visual studios .rc files. They must be utf16 and git detect it as bin > files. > So my question is: how do you handle these files? > My rc files has to be generated with configure_file, so

Re: [CMake] Convert UTF8 to UTF16 (Windows)

2016-08-29 Thread Nicholas Braden
Are you sure about this UTF16 requirement? I have many projects ranging from Visual Studio 2008 to 2015 that use .rc files and all of them are ANSI/UTF8. On Mon, Aug 29, 2016 at 2:43 AM, tonka tonka wrote: > Hey, > > I have a little problem with files which has to be UTF 16

[CMake] Convert UTF8 to UTF16 (Windows)

2016-08-29 Thread tonka tonka
Hey, I have a little problem with files which has to be UTF 16 instead of UTF 8, f.e. Visual studios .rc files. They must be utf16 and git detect it as bin files. So my question is: how do you handle these files? My rc files has to be generated with configure_file, so my hope was that