Re: Unicode and RTF?
Re: Unicode and RTF?
- Subject: Re: Unicode and RTF?
- From: Aki Inoue <email@hidden>
- Date: Thu, 24 Oct 2002 15:44:07 -0700
Ondra,
"completely non-portable" is not true.
The RTF specification is basically based on the font encoding, and the
Unicode support in the file format is an extension that is handled
correctly only by Cocoa and Office.
We could entirely use Unicode in the file format or, even, MS font
encoding, but that will break compatibility with existing apps (Adobe,
Macromedia, and AppleWorks) on our own platform.
And, besides, the incompatibility you saw happens only when you're
trying to open files with characters that's not covered with the
Windows localized version you're working on. At least, RTF files with
Japanese characters generated from Cocoa open correctly on Windows
NT/2000/XP Japanese version.
Even with characters incompatible with Windows localization, you can
add the support for those encodings via Region setting on 2000/XP Pro.
Aki Inoue
On 2002.10.24, at 03:10 PM, Ondra Cada wrote:
On Thursday, October 24, 2002, at 11:25 , Douglas Davidson wrote:
There are some subtleties associated with encodings and RTF
I don't know whether it applies to Jaguar, and I don't know whether it
is Cocoa thing or just a TextEdit one.
But the *TERRIBLE* "subtlety" of TextEdit up to 10.1 is that in case
you happen to use a Mac OS9 non-unicode font, foreign characters are
8-bit encoded using the font encoding in RTF -- making so the thing
completely non-portable anywhere. Sigh.
With Unicode font all is well: characters are Unicode encoded, and
thus portable easily.
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.