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" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]>
To: Yen-Ju Chen <[EMAIL PROTECTED]>
CC: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
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
[EMAIL PROTECTED]
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




_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to