Commit 331649ac authored by Hye-Shik Chang's avatar Hye-Shik Chang

Change the internal "undefined codepoint" mark for CJKCodecs decoders

from U+FFFD to U+FFFE which is considered more appropriate.  (from
MAL's comment)
parent cc9a951f
...@@ -12,7 +12,10 @@ ...@@ -12,7 +12,10 @@
#include "multibytecodec.h" #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 NOCHAR 0xFFFF
#define MULTIC 0xFFFE #define MULTIC 0xFFFE
#define DBCINV 0xFFFD #define DBCINV 0xFFFD
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment