On 24 March 2016 at 22:28, Guy Harris <[email protected]> wrote: > On Mar 24, 2016, at 2:43 PM, Thomas Wiens <[email protected]> wrote: > > > 1) Before calling lupdate use scripting/temporary files and replace <" > > UTF8_HORIZONTAL_ELLIPSIS> with <"…">, and all other UTF8 entities used > > in the .cpp source files. > > Would that work if the compiler is not treating the text file encoding of > the C source file as UTF-8? > > I don't think all compilers we use treat the source files as being in > UTF-8 (MSVC, for example, doesn't do so, as far as I know). > > The VC++ compiler support for Unicode can be found at https://msdn.microsoft.com/en-us/library/xwy0e8f2(v=vs.120).aspx, this is for VS2013, our current compiler of choice.
For UTF-8 encoded strings, there has to be a BOM in the source file. -- Graham Bloice
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
