Ethereal-dev: Re: [Ethereal-dev] sminmpec.c character problem when build under windows

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Kelvin You <kelvin.sdc@xxxxxxxxx>
Date: Sun, 4 Dec 2005 04:25:27 +0800
Everything is OK!
Thanks for your great help :-)

On 12/4/05, LEGO <luis.ontanon@xxxxxxxxx> wrote:
> I just checked in a change (r16665) to make-minmpec.pl that escapes
> non-ascii chars that should have fixed that.
>
> Can you confirm so?
>
> On 12/3/05, Kelvin You <kelvin.sdc@xxxxxxxxx> wrote:
> > Thanks ~~~
> > In fact, the "double quotation marks" is existent in the end of
> > string. but because the last char is "0xF3", it will combind with the
> > (") into a wide-character( 0xF322 ).
> > So need modify it like this:
> >  { 14959,        "CBR Yaz�l�m dan��manl�k A.\xF3" },
> > Is there a way to compile it without modify the sminmpec.c?
> >
> >
> >
> > On 12/4/05, LEGO <luis.ontanon@xxxxxxxxx> wrote:
> > > Most probably the way out is to modify the perl script that generates
> > > sminmpec.c to have non ascii characters escaped.
> > >
> > > I'll take a look at it. But I'll need your help as I cannot test it.
> > >
> > > In the meanwhile you can just remove that line by hand.
> > >
> > > On 12/3/05, Kelvin You <kelvin.sdc@xxxxxxxxx> wrote:
> > > > Hi, friends :
> > > > I 'm building the ethereal under win2000 with the MSVC6.0
> > > > some error occured in the file: sminmpec.c
> > > >
> > > > --------------------------------------------------------------------------------------------------
> > > >         cl -DWIN32 -DNULL=0 -D_MT -D_DLL -DHAVE_CONFIG_H /I. /I.. /I../wiretap /
> > > > Id:\ethereal-win32-libs\glib\include\glib-2.0  /Id:\ethereal-win32-libs\glib\lib
> > > > \glib-2.0\include  /Id:\ethereal-win32-libs\zlib123-dll\include /Id:\ethereal-wi
> > > > n32-libs\adns-1.0-win32-04\src /Id:\ethereal-win32-libs\adns-1.0-win32-04\adns_w
> > > > in32 /Id:\ethereal-win32-libs\pcre-6.3\include /Id:\ethereal-win32-libs\WPdpack\
> > > > include  -D_U_="" /Zi /W3 -Fd.\ -c sminmpec.c
> > > > Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
> > > > Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
> > > >
> > > > sminmpec.c
> > > > sminmpec.c(14848) : error C2001: newline in constant
> > > > sminmpec.c(14849) : error C2059: syntax error : '{'
> > > > sminmpec.c(14849) : error C2059: syntax error : ','
> > > > -------------------------------------------------------------------------------------------------
> > > >
> > > > I found some "double quotation marks" at the end of string are missing
> > > > for example:
> > > >         { 14959,        "CBR Yaz�l�m dan��manl�k A.? },
> > > >
> > > > Maybe it because my OS default code page is 936(Simplifiy Chinese
> > > > GBK), the cl.exe read the file with the DBCS mode.
> > > >
> > > > How can I solve this problem?
> > > > Thanks :-)
> > > >
> > > > _______________________________________________
> > > > Ethereal-dev mailing list
> > > > Ethereal-dev@xxxxxxxxxxxx
> > > > http://www.ethereal.com/mailman/listinfo/ethereal-dev
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > This information is top security. When you have read it, destroy yourself.
> > > -- Marshall McLuhan
> > >
> > > _______________________________________________
> > > Ethereal-dev mailing list
> > > Ethereal-dev@xxxxxxxxxxxx
> > > http://www.ethereal.com/mailman/listinfo/ethereal-dev
> > >
> > >
> > >
> >
> > _______________________________________________
> > Ethereal-dev mailing list
> > Ethereal-dev@xxxxxxxxxxxx
> > http://www.ethereal.com/mailman/listinfo/ethereal-dev
> >
> >
> >
>
>
> --
> This information is top security. When you have read it, destroy yourself.
> -- Marshall McLuhan
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>
>
>