Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions | Variables
nsUnicodeToEUCJP.cpp File Reference
#include "nsUnicodeToEUCJP.h"
#include "nsUCVJADll.h"
#include "nsUCConstructors.h"

Go to the source code of this file.

Defines

#define SIZE_OF_TABLES   5

Functions

NS_METHOD nsUnicodeToEUCJPConstructor (nsISupports *aOuter, REFNSIID aIID, void **aResult)
 A character set converter from Unicode to EUCJP.

Variables

static const PRInt16 g0201ShiftTable []
static const PRInt16 g0208ShiftTable []
static const PRInt16 g0212ShiftTable []
static const PRInt16gShiftTables [SIZE_OF_TABLES]
static const PRUint16gMappingTables [SIZE_OF_TABLES]

Define Documentation

Definition at line 60 of file nsUnicodeToEUCJP.cpp.


Function Documentation

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

A character set converter from Unicode to EUCJP.

17/Feb/1999

Author:
Catalin Rotaru [CATA]

Definition at line 78 of file nsUnicodeToEUCJP.cpp.

{
    return CreateMultiTableEncoder(SIZE_OF_TABLES,
                                   (uShiftTable**) gShiftTables, 
                                   (uMappingTable**) gMappingTables,
                                   3 /* max length = src * 3 */,
                                   aOuter, aIID, aResult);
}

Here is the call graph for this function:


Variable Documentation

Initial value:
  {
        2, uMultibytesCharset,
        ShiftCell(u1ByteChar,           1, 0x00, 0x7F, 0x00, 0x00, 0x00, 0x7F),
        ShiftCell(u1BytePrefix8EChar, 2, 0x8E, 0x8E, 0x00, 0xA1, 0x00, 0xDF)
}

Definition at line 46 of file nsUnicodeToEUCJP.cpp.

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

Definition at line 51 of file nsUnicodeToEUCJP.cpp.

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

Definition at line 56 of file nsUnicodeToEUCJP.cpp.