Here is a patch to fix [NSString availableStringEncodings], in which the last encoding is missing (NSBIG5StringEncoding).
By the way, I can't make "cvtenc -EscapeIn YES" to work. Can anyone make a test ? I found the output of "cvtenc -EscapeIn YES" is in UCS-2 encoding, no matter my GNUSTEP_STRING_ENCODING or "cvtenc -Encoding" setting. Thanx.
Yen-Ju
*** Unicode.m.orig Wed Jul 30 17:55:55 2003
--- Unicode.m Wed Jul 30 17:47:02 2003
***************
*** 325,331 ****
GSSetupEncodingTable();
encodings = objc_malloc(sizeof(NSStringEncoding) * (encTableSize+1));
pos = 0;
! for (i = 0; i < encTableSize; i++)
{
if (GSEncodingSupported(i) == YES)
{
--- 325,331 ----
GSSetupEncodingTable();
encodings = objc_malloc(sizeof(NSStringEncoding) * (encTableSize+1));
pos = 0;
! for (i = 0; i < encTableSize+1; i++)
{
if (GSEncodingSupported(i) == YES)
{_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
_______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep
