• 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: Uli Zappe <email@hidden>
  • Date: Mon, 8 Jul 2002 06:06:19 +0200

Am Montag den, 8. Juli 2002, um 05:51, schrieb Aki Inoue:

Still, I have absolutely no idea how I could map the RTF setting \fcharset80 to one of the encoding constants mentioned there.
Oh, it is indeed an undocumented specification, but it is consistent.

The charset value can be derived by adding the script id value to the base MacRoman value 77.

So, MacJapanese is 78, MacTraditionalChinese is 79, and MacKorean is 80, and so on.
Both Cocoa and MS RTF reader/writer use this convention.

Ah, that's it! :-)

Aki, thanks a lot!

Bye
Uli
________________________________________________________

Uli Zappe email@hidden
Lorscher Stra_e 5 http://www.ritual.org
D-60489 Frankfurt Fon: +49-700-ULIZAPPE
Germany Fax: +49-700-ZAPPEFAX
________________________________________________________
_______________________________________________
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.

References: 
 >Re: Non-standard Cocoa RTF Unicode encoding? (From: Aki Inoue <email@hidden>)

  • Prev by Date: Re: Non-standard Cocoa RTF Unicode encoding?
  • Next by Date: How to support clicks in a non-selectable NSTextView?
  • Previous by thread: Re: Non-standard Cocoa RTF Unicode encoding?
  • Next by thread: Re: Non-standard Cocoa RTF Unicode encoding?
  • Index(es):
    • Date
    • Thread