bug-gnustep
[Top][All Lists]
Advanced

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

Re: Bug of cvtenc (Re: ANN: GNUstep base/make Version 1.7.4)


From: Yen-Ju Chen
Subject: Re: Bug of cvtenc (Re: ANN: GNUstep base/make Version 1.7.4)
Date: Sun, 21 Sep 2003 09:12:53 -0400

Hi,

I apologize that I didn't notice the second patch you sent, which works for me.
 We are talking about different patches after your second patch.
I'm wordering why the patch works for you, and re-check the maillist archive,
 then I found the second patch.
 Sorry for wasting your time.

 Yen-Ju

From: "Yen-Ju Chen" <yjchenx@hotmail.com>
To: fedor@doc.com
CC: bug-gnustep@gnu.org
Subject: Re: Bug of cvtenc (Re: ANN: GNUstep base/make Version 1.7.4)
Date: Sun, 21 Sep 2003 08:40:06 -0400




From: Adam Fedor <fedor@doc.com>
To: Yen-Ju Chen <yjchenx@hotmail.com>
CC: "bug-gnustep@gnu.org" <bug-gnustep@gnu.org>
Subject: Re: Bug of cvtenc (Re: ANN: GNUstep base/make Version 1.7.4)
Date: 20 Sep 2003 20:43:24 -0600



With my patch I get a file in the local encoding. Did you apply my patch
and recompile cvtenc?


 Yes, and it failed to convert file from NSData to NSString
becuase the NSData is local encoding, and iEnc is NSUnicodeStringEncoding. Your patch let it always assume the input file (NSData) is NSUnicodeStringEncoding
 "if ((l > 1 && (*b == 0xFFFE || *b == 0xFEFF)) || eIn == yes)"

Even it can convert file from NSData to NSString by doing some work around,
 it still failed to write the output to correct encoding.
It may not be easy for you to test because all western europe use the same encoding (ISO8859-1).
 (Correct me if I'm wrong).
 Did you try my suggestion to use iEnc instaed oEnc in the line 234-238.
 It works for me, and if it works for you, it should be the correct patch.
But I wonder why your patch works for you because you should get a NSUnicodeStringEncoding output.

 Yen-Ju

_________________________________________________________________
Share your photos without swamping your Inbox. Get Hotmail Extra Storage today! http://join.msn.com/?PAGE=features/es



_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnustep

_________________________________________________________________
Frustrated with dial-up? Get high-speed for as low as $29.95/month (depending on the local service providers in your area). https://broadband.msn.com





reply via email to

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