• 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 ascii characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non standard ascii characters


  • Subject: Re: Non standard ascii characters
  • From: John Stiles <email@hidden>
  • Date: Mon, 10 Jan 2005 06:26:47 -0800

On Jan 9, 2005, at 11:42 PM, j o a r wrote:

Hej,

On 2005-01-10, at 08.18, Peter Karlsson wrote:

I'm developing a MIDI app. My problem is that one of the device's I'm
working on contains non standard ascii characters within the name. The name
of the device is Ensoniq ESQM.


I want to show the 40 program names in a tableview, this is easy for the
standard characters. But how do I solve the problem with the non standard
ascii characters? Any suggestions?

With "non standard ascii characters", you probably mean that you don't know which encoding is being used. You will need to find the proper encoding, either via documentation or trial and error, and then use that information when creating the NSString object. Once the NSString instance is created with the proper encoding, the table view will show the correct information.

If you're just taking a stab in the dark, I'd recommend trying Windows Latin-1. When in doubt, this is probably the encoding of choice for outside (non-Mac) text.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Non standard ascii characters (From: "Peter Karlsson" <email@hidden>)
 >Re: Non standard ascii characters (From: j o a r <email@hidden>)

  • Prev by Date: Re: NSOpenPanel: Case insensitive files
  • Next by Date: Re: ID3 tags from AAC files - still no joy
  • Previous by thread: Re: Non standard ascii characters
  • Next by thread: NSTableView's Columns and Bindings
  • Index(es):
    • Date
    • Thread