{"id":7452,"date":"2020-09-26T22:06:43","date_gmt":"2020-09-26T22:06:43","guid":{"rendered":"https:\/\/www.hexacorn.com\/blog\/?p=7452"},"modified":"2020-09-26T22:07:56","modified_gmt":"2020-09-26T22:07:56","slug":"rtf-m","status":"publish","type":"post","link":"https:\/\/www.hexacorn.com\/blog\/2020\/09\/26\/rtf-m\/","title":{"rendered":"RTF&#8230;M"},"content":{"rendered":"\n<p>One of the best ways to generate ideas for research is reading manuals and original documentation. Not only we learn new stuff, we also re-learn the old stuff and if we happen to re-visit different versions of the same documentation over the years there are chances that a) we will be aware of changes &amp; stuff that has been phased out b) we will be able to find stuff we missed in previous reading iterations.<\/p>\n\n\n\n<p>Such is the case I want to quickly discuss today.<\/p>\n\n\n\n<p>If I asked you what is the RTF file magic you would most likely reply:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">{\\rtf OR {\\rtf1<\/pre>\n\n\n\n<p>Well, I thought so too until I looked at Rich Text Format (RTF) Specification again. It is where I found the following long-forgotten tags:<\/p>\n\n\n\n<ul><li>\\pwdN <ul><li>Substitute for \\rtfN. Introduced by Pocket Word to distinguish its files from general RTF files. Currently only 1 is emitted and the number is ignored by the RTF reader.<\/li><\/ul><\/li><li>\\urtfN <ul><li>Identifies an RTF file in which all text characters are encoded in UTF-8. Only binary data escapes this transformation. Word does not read this encoding of RTF.<\/li><\/ul><\/li><\/ul>\n\n\n\n<p>So, there you have it&#8230; corner cases, you can&#8217;t exploit them per se (I think), but at least now we know.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the best ways to generate ideas for research is reading manuals and original documentation. Not only we learn new stuff, we also re-learn the old stuff and if we happen to re-visit different versions of the same documentation &hellip; <a href=\"https:\/\/www.hexacorn.com\/blog\/2020\/09\/26\/rtf-m\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[53],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/7452"}],"collection":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/comments?post=7452"}],"version-history":[{"count":3,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/7452\/revisions"}],"predecessor-version":[{"id":7455,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/7452\/revisions\/7455"}],"wp:attachment":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/media?parent=7452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/categories?post=7452"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/tags?post=7452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}