translator.cpp File Reference

Implementation of generally used translator methods. More...

#include "translator.h"

Go to the source code of this file.

Functions

unsigned int hankaku2zen (int hankaku)
unsigned int euc2sjis (unsigned int euc)


Detailed Description

Implementation of generally used translator methods.

This file contains implementation of the translator methods that are not expected to be reimplemented by derived translator classes. It also contains static data tables used by the methods.

Definition in file translator.cpp.


Function Documentation

unsigned int euc2sjis ( unsigned int  euc  ) 

returns the character converted from japaneseEUC to SJIS Thanks Yongmao Ni http://alfin.mine.utsunomiya-u.ac.jp/~niy/algo/

Definition at line 191 of file translator.cpp.

References hankaku2zen().

Referenced by Translator::JapaneseEucToSjis().

unsigned int hankaku2zen ( int  hankaku  ) 

returns the caracter converted from hankaku-kana to zenkakukana. Thanks Yongmao Ni http://alfin.mine.utsunomiya-u.ac.jp/~niy/algo/

Definition at line 173 of file translator.cpp.

Referenced by euc2sjis().



Generated on Mon Mar 31 10:58:54 2008 by  doxygen 1.5.1