Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
nsUnicodeToBIG5HKSCS.cpp File Reference
#include "nsUnicodeToBIG5HKSCS.h"
#include "nsUCvTWDll.h"
#include "nsUCConstructors.h"

Go to the source code of this file.

Functions

NS_METHOD nsUnicodeToBIG5HKSCSConstructor (nsISupports *aOuter, REFNSIID aIID, void **aResult)
 A character set converter from Unicode to BIG5-HKSCS.

Variables

static const PRUint16 gAsciiShiftTable []
static const PRUint16 gBig5HKSCSShiftTable []
static const PRUint16g_Big5HKSCSMappingTable []
static const PRUint16g_Big5HKSCSShiftTable []

Function Documentation

NS_METHOD nsUnicodeToBIG5HKSCSConstructor ( nsISupports *  aOuter,
REFNSIID  aIID,
void **  aResult 
)

A character set converter from Unicode to BIG5-HKSCS.

02/Jul/2000

Author:
Gavin Ho, Hong Kong Professional Services, Compaq Computer (Hong Kong) Ltd.

Definition at line 71 of file nsUnicodeToBIG5HKSCS.cpp.

{
    return CreateMultiTableEncoder(3,
                                   (uShiftTable**) &g_Big5HKSCSShiftTable,
                                   (uMappingTable**) &g_Big5HKSCSMappingTable,
                                   2 /* max length = src * 2 */,
                                   aOuter, aIID, aResult);
}

Here is the call graph for this function:


Variable Documentation

Initial value:

Definition at line 57 of file nsUnicodeToBIG5HKSCS.cpp.

Initial value:
  {
  gAsciiShiftTable,
  gBig5HKSCSShiftTable,
  gBig5HKSCSShiftTable
}

Definition at line 63 of file nsUnicodeToBIG5HKSCS.cpp.

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

Definition at line 46 of file nsUnicodeToBIG5HKSCS.cpp.

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

Definition at line 51 of file nsUnicodeToBIG5HKSCS.cpp.