• 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: Dealing with non-standard character sets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dealing with non-standard character sets


  • Subject: Re: Dealing with non-standard character sets
  • From: Allan Odgaard <email@hidden>
  • Date: Wed, 5 May 2004 18:02:19 +0200

On 5. May 2004, at 16:40, Michael Heinz wrote:

I'm trying to display text generated by a device that uses it's own 8-bit ASCII character set. I bashed together a font that had the special characters in the correct places, but the Mac seems to ignore those characters in favor of whatever the current "encoding" is.

Certainly not something I'm well versed in but could you let the encoding of the font be unicode, use code points from one of the private/vendor specific pages (for the 256 characters you have drawn) and then, when you want to display "text" from the device, convert the 8 bit characters from the device to those code points defined in your font?

I would think that most parts of Cocoa is ignorant about encodings as in MacRoman, MacGreek, MacWhatever, as these are AFAIK legacy stuff from Classic.
_______________________________________________
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: 
 >Dealing with non-standard character sets (From: Michael Heinz <email@hidden>)

  • Prev by Date: Re: Objective-C question
  • Next by Date: Re: NSTextField and bindings
  • Previous by thread: Dealing with non-standard character sets
  • Next by thread: Refreshing subviews
  • Index(es):
    • Date
    • Thread