[clug] RTF gurus?

Brad Hards bradh at frogmouth.net
Mon May 28 11:27:03 GMT 2007


G'day

I'm working on adding OpenChange support to KDE, and am trying
 to decode a particular message (which is "Compressed RTF" format).

I borrowed some code from libpst, and now I have this:
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
{\*\generator Riched20 5.50.99.2014;}\viewkind4\uc1\pard\f0\fs20 Description Line 1\par
More description\par
\par
}}


Does that look like valid RTF?

Any recommendations for how to convert this to something nicer (like
UTF8 plain text), ideally using some kind of library?

Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux/attachments/20070528/0cf7a5d8/attachment.bin


More information about the linux mailing list