[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
'encoding not yet implemented' warning
From: |
Stefan Urbanek |
Subject: |
'encoding not yet implemented' warning |
Date: |
Wed, 10 Jan 2001 19:06:17 +0100 |
Hi,
I am allways getting this warning:
WARNING: NSISOLatin2StringEncoding - encoding not yet implemented.
NSISOLatin1StringEncoding set as default.
But NSISOLatin2StringEncoding is (was) implemented. Waht should be wrong?
I think, the code in Unicode.m - GetDefEncoding():
if (tmp != 0 && tmp != NSISOLatin1StringEncoding)
{
fprintf(stderr, "WARNING: %s - encoding not yet "
"implemented.\n", encoding);
fprintf(stderr,
"NSISOLatin1StringEncoding set as default.\n");
ret = NSISOLatin1StringEncoding;
}
should be
if (tmp == 0 && tmp != NSISOLatin1StringEncoding)
{
fprintf(stderr, "WARNING: %s - encoding not yet "
"implemented.\n", encoding);
fprintf(stderr,
"NSISOLatin1StringEncoding set as default.\n");
ret = NSISOLatin1StringEncoding;
}
because of this:
...
if (ret != availableEncodings[count])
{
tmp = 0;
}
...
But I am not sure.
Stefan
- 'encoding not yet implemented' warning,
Stefan Urbanek <=