'Required:
\'file\'
\'area_to_convert\'--the area of file to convert
\'char_file\'--the file containing the character mappings
\'default_char_map\'--name of default character map
Optional:
\'copy\'-- whether to make a copy of result for debugging
\'temp_dir\' --where to output temporary results (default is
directory from which the script is run.)
\'symbol\'--whether to load the symbol character map
\'winddings\'--whether to load the wingdings character map
\'caps\'--whether to load the caps characer map
\'convert_to_caps\'--wether to convert caps to utf-8
Returns:
nothing'

def __init__(self, in_file, area_to_convert, char_file, default_char_map, bug_handler, invalid_rtf_handler, copy=None, temp_dir=None, symbol=None, wingdings=None, caps=None, convert_caps=None, dingbats=None, run_level=1):

    self.__file = in_file
    self.__copy = copy
    if (area_to_convert not in ('preamble', 'body')):
        msg = 'Developer    error!    Wrong    flag.\nin    module    "hex_2_utf8.py\n"area_to_convert"    must    be    "body"    or    "preamble"\n'
        raise self.__bug_handler, msg
    self.__char_file = char_file
    self.__area_to_convert = area_to_convert
    self.__default_char_map = default_char_map
    self.__symbol = symbol
    self.__wingdings = wingdings
    self.__dingbats = dingbats
    self.__caps = caps
    self.__convert_caps = 0
    self.__convert_symbol = 0
    self.__convert_wingdings = 0
    self.__convert_zapf = 0
    self.__run_level = run_level
    self.__write_to = better_mktemp()
    self.__bug_handler = bug_handler
    self.__invalid_rtf_handler = invalid_rtf_handler
