Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] wireshark-0.99.7 compiling error, The file contains a charac

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 23 Jan 2008 12:07:49 -0800
Guy Harris wrote:
Graham Bloice wrote:

As per the VS2005 help:

C4819 occurs when an ANSI source file is compiled on a system with a codepage that cannot represent all characters in the file.

To resolve C4819, save the file in Unicode format.
So, you either use a codepage that does support ANSI,

I've noticed that the people reporting these issues seem to be coming from East Asian countries; I'd prefer not to force them to choose a code page other than one appropriate for their language (their code pages have double-byte characters, which might impose restrictions on what can follow a byte with the 8th bit set).

...or we find all the non-ASCII characters in the files (or, at least, the ones that cause problems; I don't know whether MSVC has problems with comments)

It appears to have problems with comments. I've just checked in a fix for packet-bacapp.h; I'll look at the other files.

Even in comments, there's no guarantee that they'll be displayed right on all platforms ("displayed" in the sense of "show up in your editor"), so we should get rid of them.