1 /************************************************************************/ 2 /* */ 3 /* Convert text from/to UTF-8 using iconv. */ 4 /* */ 5 /************************************************************************/ 6 7 # ifndef TEXT_CONVERTER_IMPL_H 8 # define TEXT_CONVERTER_IMPL_H 9 10 # include "textConverter.h" 11 12 struct TextConverterImpl; /* read iconv_t */ 13 14 typedef struct TextConverter 15 { 16 char * tcNativeEncodingName; 17 struct TextConverterImpl * tcIconvToUtf8; 18 struct TextConverterImpl * tcIconvFrUtf8; 19 20 TextConverterProduce tcProduce; 21 } TextConverter; 22 23 # endif 24