++ - I wish I'd seen this about a year ago ;-)
Bear in mind that RTF expects signed 16-bit values for character codes, which has bitten me more than once in the past. It's also worth pointing out that MS Word, in particular, will choke if you don't follow each Unicode character with its "ansi equivalent", which you're achieving with the '\5f' in your sprintf - most of the other RTF-aware editors I experimented with showed no such restriction.
In reply to Re: Writing Unicode to an RTF file
by john_oshea
in thread Writing Unicode to an RTF file
by graff
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |