Wireshark mailing list archives
Re: Localization problem with UTF entities
From: Graham Bloice <graham.bloice () trihedral com>
Date: Thu, 24 Mar 2016 23:04:00 +0000
On 24 March 2016 at 22:28, Guy Harris <guy () alum mit edu> wrote:
On Mar 24, 2016, at 2:43 PM, Thomas Wiens <th.wiens () gmx de> 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 <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Localization problem with UTF entities Thomas Wiens (Mar 20)
- Re: Localization problem with UTF entities Thomas Wiens (Mar 24)
- Re: Localization problem with UTF entities Guy Harris (Mar 24)
- Re: Localization problem with UTF entities Graham Bloice (Mar 24)
- Re: Localization problem with UTF entities Guy Harris (Mar 24)
- Re: Localization problem with UTF entities Thomas Wiens (Mar 25)
- Re: Localization problem with UTF entities Graham Bloice (Mar 25)
- Re: Localization problem with UTF entities Guy Harris (Mar 24)
- Re: Localization problem with UTF entities Thomas Wiens (Mar 24)