19 .
name =
"euc_tw_and_big5",
201 *p++ = (
big5buf >> 8) & 0x00ff;
258 *p++ = (
cnsBuf >> 8) & 0x00ff;
265 *p++ = (
cnsBuf >> 8) & 0x00ff;
272 *p++ = (
cnsBuf >> 8) & 0x00ff;
492 *p++ = (
cnsBuf >> 8) & 0x00ff;
567 *p++ = (
big5buf >> 8) & 0x00ff;
unsigned short CNStoBIG5(unsigned short cns, unsigned char lc)
unsigned short BIG5toCNS(unsigned short big5, unsigned char *lc)
#define IS_HIGHBIT_SET(ch)
static int euc_tw2mic(const unsigned char *euc, unsigned char *p, int len, bool noError)
static int big52mic(const unsigned char *big5, unsigned char *p, int len, bool noError)
Datum euc_tw_to_mic(PG_FUNCTION_ARGS)
Datum big5_to_euc_tw(PG_FUNCTION_ARGS)
Datum mic_to_big5(PG_FUNCTION_ARGS)
Datum big5_to_mic(PG_FUNCTION_ARGS)
Datum euc_tw_to_big5(PG_FUNCTION_ARGS)
static int mic2euc_tw(const unsigned char *mic, unsigned char *p, int len, bool noError)
Datum mic_to_euc_tw(PG_FUNCTION_ARGS)
static int mic2big5(const unsigned char *mic, unsigned char *p, int len, bool noError)
static int euc_tw2big5(const unsigned char *euc, unsigned char *p, int len, bool noError)
static int big52euc_tw(const unsigned char *big5, unsigned char *p, int len, bool noError)
#define PG_MODULE_MAGIC_EXT(...)
#define PG_GETARG_CSTRING(n)
#define PG_FUNCTION_INFO_V1(funcname)
#define PG_RETURN_INT32(x)
#define PG_GETARG_INT32(n)
#define PG_GETARG_BOOL(n)
void report_untranslatable_char(int src_encoding, int dest_encoding, const char *mbstr, int len)
void report_invalid_encoding(int encoding, const char *mbstr, int len)
#define CHECK_ENCODING_CONVERSION_ARGS(srcencoding, destencoding)
int pg_encoding_verifymbchar(int encoding, const char *mbstr, int len)