RE: Word reversal from Abobe to Word

From: Murray Sargent <murrays_at_exchange.microsoft.com>
Date: Fri, 8 Feb 2013 16:37:53 +0000

Albrecht notes that

The complete RTF clipboard content is this, created by "Adobe Acrobat 9 Pro, Version 9.5.1":

0000: 7B 5C 72 74 66 31 5C 61 6E 73 69 5C 61 6E 73 69 {\rtf1\ansi\ansi
0010: 63 70 67 31 32 35 32 5C 75 63 31 20 7B 5C 66 6F cpg1252\uc1 {\fo
0020: 6E 74 74 62 6C 5C 66 30 5C 66 6E 69 6C 5C 66 63 nttbl\f0\fnil\fc
0030: 68 61 72 73 65 74 31 37 37 20 5C 27 34 31 5C 27 harset177 \'41\'
0040: 37 32 5C 27 36 39 5C 27 36 31 5C 27 36 43 3B 7D 72\'69\'61\'6C;}
0050: 5C 70 61 72 64 5C 70 6C 61 69 6E 5C 71 6C 5C 66 \pard\plain\ql\f
0060: 30 5C 66 73 32 30 20 7B 5C 66 73 35 36 20 5C 75 0\fs20 {\fs56 \u
0070: 31 35 31 31 20 5C 27 46 37 5C 75 31 34 39 33 20 1511 \'F7\u1493
0080: 5C 27 45 35 5C 75 31 34 39 31 20 5C 27 45 33 5C \'E5\u1491 \'E3\
0090: 75 31 35 30 32 20 5C 27 45 45 7D 7D 00 00 u1502 \'EE}}

Collecting the RTF, we have

{\rtf1\ansi\ansicpg1252\uc1 {\fonttbl\f0\fnil\fcharset177 \'41\'72\'69\'61\'6C;}
\pard\plain\ql\f0\fs20 {\fs56 \u1511 \'F7\u1493\'E5\u1491 \'E3\u1502 \'EE}}

This displays correctly (קודמ) in Word 2013 anyhow. \fcharset177 is correct for Hebrew.

In contrast to what I said below, it also works for \fcharset0, which is ANSI_CHARSET and LTR. So I can't get it to display incorrectly. Word treats paste a little differently from opening a file, so conceivably there's a problem there. Can you save the RTF above as a file and open the file in your Word to see how it displays?

Murray
Received on Fri Feb 08 2013 - 10:42:06 CST

This archive was generated by hypermail 2.2.0 : Fri Feb 08 2013 - 10:42:08 CST