17 #include "../../Unicode/gbk_to_utf8.map"
18 #include "../../Unicode/utf8_to_gbk.map"
71 &gbk_from_unicode_tree,
int UtfToLocal(const unsigned char *utf, int len, unsigned char *iso, const pg_mb_radix_tree *map, const pg_utf_to_local_combined *cmap, int cmapsize, utf_local_conversion_func conv_func, int encoding, bool noError)
int LocalToUtf(const unsigned char *iso, int len, unsigned char *utf, const pg_mb_radix_tree *map, const pg_local_to_utf_combined *cmap, int cmapsize, utf_local_conversion_func conv_func, int encoding, bool noError)
#define PG_GETARG_CSTRING(n)
#define PG_RETURN_INT32(x)
#define PG_GETARG_INT32(n)
#define PG_GETARG_BOOL(n)
#define CHECK_ENCODING_CONVERSION_ARGS(srcencoding, destencoding)
PG_FUNCTION_INFO_V1(gbk_to_utf8)
Datum utf8_to_gbk(PG_FUNCTION_ARGS)
Datum gbk_to_utf8(PG_FUNCTION_ARGS)