• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Non-standard Cocoa RTF Unicode encoding?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non-standard Cocoa RTF Unicode encoding?


  • Subject: Re: Non-standard Cocoa RTF Unicode encoding?
  • From: Aki Inoue <email@hidden>
  • Date: Mon, 8 Jul 2002 18:47:17 -0700

Ondra,

I don't understand what you mean by "Unicode fonts" here.
If it's "fonts designed for Windows and that don't have MacOS cmap tables," there is perfectly obvious explanation.

Since those fonts designed for Windows usually don't have MacOS cmap table, they appear to ATS (and, hence, to Cocoa) that they are a MacRoman-encoded font. If you have characters that cannot be converted into MacRoman, the RTF writer generates the RTF Unicode directives (\uXXXX format). The format can be recognized by any MS Unicode-ready platforms.

On the other hand, fonts designed for Mac have the correct cmap entries. So, we can use the MacOS encoding I described earlier.
This is necessary to have maximum compatibility on our own platform. MS Office Mac, AppleWorks, Adobe products all depend on the legacy encoding, not the Unicode directives.

The problem with moving these files to Windows is that the MacOS script encoding converters other than MacRoman are not installed by default.

I haven't tried but it might help to install the converters on your friend's machine. With Win 2000pro or XP, you can install various MacOS encoding converters from the localization set up.

Aki

On 2002.7.8, at 05:33 AM, Ondra Cada wrote:

On Monday, July 8, 2002, at 05:51 , Aki Inoue wrote:

Both Cocoa and MS RTF reader/writer use this convention

As for the latter, I don't think so. I don't use (or even have) M$ office myself, but friends of mine do; they say that so as my Mac OS X made RTFs are readable there, I have to use Unicode fonts: with non-Unicode ones, they see improper foreign characters in their Words.
---
Ondra Cada
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.

  • Follow-Ups:
    • Re: Non-standard Cocoa RTF Unicode encoding?
      • From: Ondra Cada <email@hidden>
References: 
 >Re: Non-standard Cocoa RTF Unicode encoding? (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: OT: Categories and alloc.
  • Next by Date: Database Suggestions
  • Previous by thread: Re: Non-standard Cocoa RTF Unicode encoding?
  • Next by thread: Re: Non-standard Cocoa RTF Unicode encoding?
  • Index(es):
    • Date
    • Thread