On Mon, 21 May 2001, Andrew Dunbar wrote:

> Here's my second try.
> I've added more cpg's and fcharset's after doing some tests with
> MW Word and WordPad.
> I've made all the encoding names "CPxxx".
> Bugfix 836 is not broken any longer.  Note that not even MS Word
> or Wordpad can load 836.rtf but we can (:
> 
> I hope that's everything.  CJK multibyte locales are not
> imported correctly yet.

 Why? CJK (chinese) people told that RTF was being imported and exported just
fine.

 As for the patch - let me suggest few more case statements (for charset ->
iconv's charset name) switch (excerpt from OpenOffice sources - please adapt
them apropriately for AW):

         case 77:        eTextEncoding = RTL_TEXTENCODING_APPLE_ROMAN;break;
         case 130:       eTextEncoding = RTL_TEXTENCODING_MS_1361; break;
         case 255:       eTextEncoding = RTL_TEXTENCODING_IBM_850; break;

 Best regards,
  -Vlad


Reply via email to