bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ANN: GNUstep base/make Version 1.7.4


From: Adam Fedor
Subject: Re: ANN: GNUstep base/make Version 1.7.4
Date: 20 Sep 2003 09:27:07 -0600

On Fri, 2003-09-19 at 22:20, Yen-Ju Chen wrote:
> 
> >From: Adam Fedor <fedor@doc.com>
> >To: Yen-Ju Chen <yjchenx@hotmail.com>
> >CC: "bug-gnustep@gnu.org" <bug-gnustep@gnu.org>
> >Subject: Re: ANN: GNUstep base/make Version 1.7.4
> >Date: 19 Sep 2003 22:16:15 -0600
> >
> >On Fri, 2003-09-19 at 21:52, Yen-Ju Chen wrote:
> > >   If someone don't use either -EscapeIn or -EscapeOut,
> > >   what does he use cvtenc for ? a substitute of iconv ?
> >
> >I guess, yes. Perhaps I'm being pedantic. Is there any harm in my patch,
> >however? Does it do what you expect?
> >
> 
>   Your patch doesn't work because it assume the input file is in Unicode 
> encoding,
>   which may not be true.
>   The input file can be unicode or local encoding.
>   The original code can read the input file correctly,
>   but write it in oEnc, which is Unicode.
>   People use "-EscapeIn yes" in order to get the property list in local 
> encoding.
>   Therefore, it should use iEnc instead of oEnc.
> 

I don't understand. If eIn=YES, then it does use iEnc. I didn't change
anything about how the code read the input. If the input is in Unicode,
then the code correctly determines that, otherwise it assumes it is in
the default encoding (even though it may just be escaped unicode). In
that case you need to specify EscapeIn or EscapeOut to tell it which is
which.

Do you have a test file that will show me what is wrong?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]