cpython/Modules/cjkcodecs/_codecs_kr.c

/*
 * _codecs_kr.c: Codecs collection for Korean encodings
 *
 * Written by Hye-Shik Chang <[email protected]>
 */

#include "cjkcodecs.h"
#include "mappings_kr.h"

/*
 * EUC-KR codec
 */

#define EUCKR_JAMO_FIRSTBYTE
#define EUCKR_JAMO_FILLER

static const unsigned char u2cgk_choseong[19] =;
static const unsigned char u2cgk_jungseong[21] =;
static const unsigned char u2cgk_jongseong[28] =;

ENCODER(euc_kr)
{}

#define NONE

static const unsigned char cgk2u_choseong[] =;
static const unsigned char cgk2u_jongseong[] =;

DECODER(euc_kr)
{}
#undef NONE


/*
 * CP949 codec
 */

ENCODER(cp949)
{}

DECODER(cp949)
{}


/*
 * JOHAB codec
 */

static const unsigned char u2johabidx_choseong[32] =;
static const unsigned char u2johabidx_jungseong[32] =;
static const unsigned char u2johabidx_jongseong[32] =;
static const DBCHAR u2johabjamo[] =;

ENCODER(johab)
{}

#define FILL
#define NONE

static const unsigned char johabidx_choseong[32] =;
static const unsigned char johabidx_jungseong[32] =;
static const unsigned char johabidx_jongseong[32] =;

static const unsigned char johabjamo_choseong[32] =;
static const unsigned char johabjamo_jungseong[32] =;
static const unsigned char johabjamo_jongseong[32] =;

DECODER(johab)
{}
#undef NONE
#undef FILL


BEGIN_MAPPINGS_LIST()

BEGIN_CODECS_LIST()

I_AM_A_MODULE_FOR(kr)