Functions

ie_imp_StarOffice_encodings.h File Reference

Go to the source code of this file.

Functions

UT_iconv_t findConverter (UT_uint8 id)
 Given the charset ID from a staroffice file, returns an iconv handle, or (UT_iconv_t)(-1) if none is found.

Function Documentation

UT_iconv_t findConverter ( UT_uint8  id  ) 

Given the charset ID from a staroffice file, returns an iconv handle, or (UT_iconv_t)(-1) if none is found.

The handle must be closed with UT_iconv_close when it's no longer used.

References SOEncodings, UCS_INTERNAL, UT_DEBUGMSG, UT_iconv_isValid(), and UT_iconv_open().

Referenced by IE_Imp_StarOffice::_loadFile(), DocHdr::load(), and SDWDocInfo::load().