Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
nsUnicodeToCP949.cpp File Reference
#include "nsUnicodeToCP949.h"
#include "nsUCvKODll.h"
#include "nsUCConstructors.h"
#include "u20cp949hangul.uf"

Go to the source code of this file.

Functions

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

Variables

static const PRUint16 gAsciiShiftTable []
static const PRUint16 gKSC5601ShiftTable []
static const PRUint16 gCP949ShiftTable []
static const PRUint16 g_ufCP949NoKSCHangulMapping []
static const PRUint16g_CP949MappingTable [3]
static const PRUint16g_CP949ShiftTable [3]

Function Documentation

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

A character set converter from Unicode to CP949.

14/May/2001 (patterned after Unicode to EUCKR converter

Author:
Jungshik Shin

Definition at line 81 of file nsUnicodeToCP949.cpp.

{
  return CreateMultiTableEncoder(3,
                                 (uShiftTable**) g_CP949ShiftTable, 
                                 (uMappingTable**) g_CP949MappingTable,
                                 2 /* max len = src * 2 */,
                                 aOuter, aIID, aResult);
}

Here is the call graph for this function:


Variable Documentation

Initial value:

Definition at line 74 of file nsUnicodeToCP949.cpp.

Definition at line 62 of file nsUnicodeToCP949.cpp.

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

Definition at line 47 of file nsUnicodeToCP949.cpp.

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

Definition at line 56 of file nsUnicodeToCP949.cpp.

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

Definition at line 52 of file nsUnicodeToCP949.cpp.