[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 123672] RTF - kword doesn't recognize lang/charset settings
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2006-03-17 15:55:21
Message-ID: 20060317155521.14667.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=123672         




------- Additional Comments From nicolasg snafu de  2006-03-17 16:55 -------
On Friday 17 March 2006 16:45, Sebastian Sauer wrote:
(...)
> From http://www.df.lth.se/~triad/krad/recode/rtf-cvs.c ;


seems to be LGPL too. :-)

>
> {0, 1, 1252, "CP1252"},          /* ANSI_CHARSET (wingdi.h) */


> {1, 2, 0, "UCS2"},               /* DEFAULT_CHARSET (Mozilla) */


UTF-16 is perhaps good as font encoding, but surely it should not be used as 
encoding for the RTF stream.

> {2, 1, 0, ""},                   /* SYMBOL_CHARSET (wingdi.h) */


> {77, 1, 0, "macintosh"},         /* MAC_CHARSET (wingdi.h) */


Qt names it "Apple Roman"

> {128, 2, 932, "CP932"},          /* SHIFTJIS_CHARSET (Wine) */
> {129, 2, 949, "CP949"},          /* HANGEUL_CHARSET (Wine) */
> {130, 2, 1361, "CP1361"},        /* JOHAB_CHARSET (Wine) */
> {134, 2, 936, "CP936"},          /* GB2312_CHARSET (Wine) */
> {136, 2, 950, "CP950"},          /* CHINESEBIG5_CHARSET (Wine) */


I am not sure if we have correct supports from Qt for these. (Qt has probably 
only the non-Microsoft variants.)

> {161, 1, 1253, "CP1253"},        /* GREEK_CHARSET (wingdi.h) */
> {162, 1, 1254, "CP1254"},        /* TURKISH_CHARSET (wingdi.h) */
> {163, 2, 1258, "CP1258"},        /* VIETNAMESE_CHARSET (Mozilla) */
> {177, 1, 1255, "CP1255"},        /* HEBREW_CHARSET (wingdi.h) */
> {178, 1, 1256, "CP1256"},        /* ARABIC_CHARSET former
> ARABICSIMPLIFIED_CHARSET (RTF 1.3) */ {179, 1, 0, ""},                 /*
> ARABICTRADITIONAL_CHARSET - obsolete? (RTF 1.3) */ {180, 1, 0, ""},        
>         /* ARABICUSER_CHARSET - obsolete? (RTF 1.3) */ {181, 1, 0, ""},    
>             /* HEBREWUSER_CHARSET - obsolete? (RTF 1.3) */ {186, 1, 1257,
> "CP1257"},        /* BALTIC_CHARSET (wingdi.h) */
> {204, 1, 1251, "CP1251"},        /* RUSSIAN_CHARSET former CYRILLIC_CHARSET
> (RTF 1.3) */ {222, 1, 874, "CP874"},          /* THAI_CHARSET (Wine) */
> {238, 1, 1250, "CP1250"},        /* EASTEUROPE_CHARSET former
> EASTERNEUROPE_CHARSET (RTF 1.3) */ 


>{254, 1, 437, "IBM437"},         /*> PC437_CHARSET - obsolete? (RTF 1.3) */


Qt does not offer 437, only 850 (which I have found to be a good enough 
approximation for the RTF import filter).

> {255, 1, 0, ""},                 /*
> OEM_CHARSET (wingdi.h) */
> {0, 0, 0, NULL}


Have a nice day!
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic