Change the internal "undefined codepoint" mark for CJKCodecs decoders

from U+FFFD to U+FFFE which is considered more appropriate.  (from
MAL's comment)
This commit is contained in:
Hye-Shik Chang 2005-10-06 15:51:59 +00:00
parent cc9a951f35
commit 331649acc7

View file

@ -12,7 +12,10 @@
#include "multibytecodec.h"
#define UNIINV Py_UNICODE_REPLACEMENT_CHARACTER
/* a unicode "undefined" codepoint */
#define UNIINV 0xFFFE
/* internal-use DBCS codepoints which aren't used by any charsets */
#define NOCHAR 0xFFFF
#define MULTIC 0xFFFE
#define DBCINV 0xFFFD