Vlad Harchev écrit:

>  No, wv/iconv shouldn't be even compiled in - if it is, it's a bug (it shades
> iconv() from libiconv or libc's iconv).

Oh yes. I now remember that. 

>  AbiWord already in theory supports any charset when importing RTFs - see RTF
> importer. It uses XAP_EncodingManager::charsetFromCodepage to get the name of
> encoding for given codepage number the RTF text is in, and converts all
> charactres to unicode using iconv. If iconv() doesn't know an encoding under
> the name of form CPXXXX for some codepage XXXX, then appropriate entries
> should be added to XAP_EncodingManager.cpp:MSCodepagename_to_charset_name_map 
> 
>  Importing of RTFs with encodings different from locale's encoding works fine
> at least for Russian and Chinese.

How should I do for MacRoman as it does not have a codepage number but have 
an iconv() name  ?
I haven't found the method that does this. 

BTW how do we insure that we have support for this conversion ? 


Hub 


Reply via email to