[clug] RTF gurus?

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


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;}\viewkind4\uc1\pard\f0\fs20 Description Line 1\par
More description\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?

-------------- 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