Back to index

lightning-sunbird  0.9+nobinonly
Classes | Variables
nsUnicodeToGBK.cpp File Reference
#include "nsUnicodeToGBK.h"
#include "nsICharRepresentable.h"
#include "nsUCvCnDll.h"
#include "gbku.h"
#include "uconvutil.h"
#include "nsUnicharUtils.h"
#include "gb18030uniq2b.uf"
#include "gb180304bytes.uf"
#include "gbkuniq2b.uf"

Go to the source code of this file.

Classes

class  nsUnicodeToGB18030Uniq2Bytes
class  nsUnicodeTo4BytesGB18030
class  nsUnicodeToGBKUniq2Bytes

Variables

static const PRInt16 g_2BytesShiftTable []
 A character set converter from Unicode to GBK.
static const PRInt16 g_4BytesGB18030ShiftTable []
static const PRUint16 g_uf_gb18030_2bytes []
static const PRUint16 g_uf_gb18030_4bytes []
static const PRUint16 g_uf_gbk_2bytes []

Variable Documentation

Initial value:
 {
 0, u2BytesCharset,
 ShiftCell(0,0,0,0,0,0,0,0)
}

A character set converter from Unicode to GBK.

08/Sept/1999

Author:
Yueheng Xu, Yuehe.nosp@m.ng.X.nosp@m.u@int.nosp@m.el.c.nosp@m.om Revision History 04/Oct/1999. Yueheng Xu: used table gUnicodeToGBKTable[0x5200] to make Unicode to GB mapping fast

Definition at line 59 of file nsUnicodeToGBK.cpp.

Initial value:
 {
 0, u4BytesGB18030Charset,
 ShiftCell(0,0,0,0,0,0,0,0)
}

Definition at line 63 of file nsUnicodeToGBK.cpp.

Definition at line 72 of file nsUnicodeToGBK.cpp.

Definition at line 87 of file nsUnicodeToGBK.cpp.

Definition at line 102 of file nsUnicodeToGBK.cpp.