- Unicode & RTF

From: [at]} <Wojtek>
Date: Tue, 10 Jan 2006 11:10:00 -0500 (EST)

----boundary-LibPST-iamunique-988334858_-_-
Content-type: text/plain

Robert:

  I went to www.microsoft.com, typed "Rich Text Format" in the search
field, and looked up the RTF specification 1.6. (The recent specification
seems to be 1.7.)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnrtfspec/html/rtfspec.asp

There is a section entitled "Unicode RTF"

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnrtfspec/html/rtfspec_6.asp

The section starts like this:

 Unicode RTF
Word 2000 is a Unicode-enabled application. Text is handled using the
16-bit Unicode character encoding scheme. Expressing this text in RTF
requires a new mechanism, because until this release (version 1.6), RTF
has only handled 7-bit characters directly and 8-bit characters encoded as
hexadecimal. The Unicode mechanism described here can be applied to any
RTF destination or body text.


There is more to read there, but the gist is that more work may be needed.

Hope this helps,

Wojtek



On Tue, 10 Jan 2006, Campbell, Robert D (SELEX) (UK Edinburgh) wrote:

>
> Hi
>
> If I save and retrieve a document in Rich Text Format
> I loose the unicode characters (they become '?' s).
>
> Does anyone know if
>
> 1 - this is an RTF limitation
>
> 2 - this is a BlackBox limitation
>
> 3 - there is a simple fix?
>
>
> (In truth, I want to read the file with Word.)
>
>
>
> Thanks
>
> Robert

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy



----boundary-LibPST-iamunique-988334858_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQ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LCBJIHdhbnQg
dG8gcmVhZCB0aGUgZmlsZSB3aXRoIFdvcmQuKVxwYXINCj5ccGFyDQo+XHBhcg0KPlxwYXINCj4g
VGhhbmtzXHBhcg0KPlxwYXINCj4gUm9iZXJ0XHBhcg0KXHBhcg0KLS0tIEJsYWNrQm94XHBhcg0K
LS0tIHNlbmQgc3ViamVjdCBIRUxQIG9yIFVOU1VCU0NSSUJFIHRvIGJsYWNrYm94QG9iZXJvbi5j
aFxwYXINCn19AJ1uAN0=


----boundary-LibPST-iamunique-988334858_-_---
Received on Tue Jan 10 2006 - 17:10:00 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:28:06 UTC